Ruby on Rails Friday, August 31, 2012

On Aug 31, 2012, at 4:10 PM, 7stud -- wrote:

> Thanks for the response. Here is my routes.rb:
>
>
> SampleApp25::Application.routes.draw do
> get "static_pages/home"
> get "static_pages/help"
> get "static_pages/about"
> get "static_pages/contact"


Yup. I can confirm that with a similar route here in an otherwise entirely empty controller and a matching view in the correct folder, this just works without any logic at all. Let's hear it for convention over configuration!

Walter

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment