Reputation: 737
So I'm receiving a routing error No route matches [GET] "/"
my routes.rb:
Webapp::Application.routes.draw do
resources :ideas
end
I scaffolded this ideas controller together by running this in my projects folder:
$ rails generate scaffold idea name:string description:text picture:string
$ rake db:migrate
$ rails s
& thats when I received the routing error.
Upvotes: 0
Views: 263
Reputation: 9820
What do you have for root :to =>
in routes.rb
?
This determines [GET] "/"
Upvotes: 1