Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
No Routes Defined?
Hrm, in this last video we added devise and now I am seeing that all the routes are not being seen. I keep getting the error 'You don't have any routes defined!' but when I look inside routes.rb I see them there.
Treebook::Application.routes.draw do devise_for :users resources :statuses root :to => 'statues#index' end
What is going on? Please help
root :to => 'statues#index'
Just a typo -- its statuses :)
Woof, that's a tad embarassing. Thanks for the tip. Changing the route to the proper name worked well.