Matt Mcinerney wrote:> Right now i have the default index file in the public folder, but how
> would I make a certain controller the index
>
> right now i have /site/ as my frontend. how could i route that to
> replace that default "Welcome aboard
> You’re riding the Rails!"
In your routes.config add map.connect '''', :controller =>
''site'', :action
=> ''index''
--
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 post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---