Ruby on Rails Friday, May 31, 2013

Hello.

So I created a new application (named guestbook), controllers, and
entry(named sign_in) in Rails. I uncommented the "match
':controller......' and the 'root :to => 'welcome#index' lines in
config/locales/routes.rb file. When I type
"localhost:3000/entries/sign_in", I received the "Routing Error, No
route matches [GET] "/entries/sign_in"

When running rake routes: entries_sign_in GET
/entries/sign_in(.:format) entries#sign_in root/welcome#index
/:controller(/:action(/:id)(.:format) :controller#:action

--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/abad3b9784f8540c9b21b0ebdb7bee92%40ruby-forum.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment