Richard Schneeman wrote: > what is the correct way to set a default homepage with rails? So when a > user goes to www.first.snowmaninthesun.com they are automatically > redirected to www.first.snowmaaninthesun.com/first/view instead of > seeing "Welcome aboard You’re riding Ruby on Rails"! ?? > > i have tried setting my routes to > > map.connect '' :controller=> 'first', :action => 'view' > > but this doesn't seem to do anything. > > *links are to a demo rails app, no advertising or anything inappropriate
wow, my first answer to a post!! And its my own!! make sure you go to you public folder and delete index.html within your rails app and then set your routes as defined above! should work! -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---