报错:
Routing Error
No route matches [GET] "/Say/hello"
Try running rake routes
for more information on available routes.
解决方法:
在你的应用程序中输入ls -l命令,你可以看见config这个目录,进入该目录。打开routes.rb,添加get "/sayhello",刷新网页即可。
No route matches [GET] "/Say/hello"
Try running rake routes
for more information on available routes.
解决方法:
在你的应用程序中输入ls -l命令,你可以看见config这个目录,进入该目录。打开routes.rb,添加get "/sayhello",刷新网页即可。