我试图在安装后编写我的第一个程序,但出现如下错误:
Routing Error
No route matches [GET] "/firstapp"
我试图更改我的config/routes.rb
文件,但没有任何改变。这是我的config/routes.rb
Firstapp::Application.routes.draw do
resources :apptables
# The priority is based upon order of creation:
# first created -> highest priority.
# continues with default `config/routes.rb` explanations...
end
如何配置config/routes.rb
以使其正常运行?