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!”
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!”
Matt M. wrote:
Right now i have the default index file in the public folder, but how
would I make a certain controller the indexright 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’
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs