Ruby on Rails Friday, May 31, 2013

On 31 May 2013 16:09, Cameron D. <lists@ruby-forum.com> wrote:
> 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

Did you restart the server after changing routes.rb? This is one of
the few occasions when a restart is necessary.

Colin

--
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/CAL%3D0gLtbi00f%3D3K6ro%3DHp0s4Fz0Z%2BQ%3D%2B%2BVPundBuqmgvHXrmGg%40mail.gmail.com?hl=en-US.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment