Groups
Groups
Sign in
Groups
Groups
Ruby on Rails: Goldberg
Conversations
About
Send feedback
Help
Default page?
4 views
Skip to first unread message
Barry
unread,
Apr 12, 2009, 7:04:54 AM
4/12/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Goldberg
I'm struggling with something on Goldberg. I want the default page for
the public role to be a controller / action, and not a content page.
How do I change that?
Thanks
Barry
James Silberbauer
unread,
Apr 14, 2009, 8:08:02 AM
4/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonrail...@googlegroups.com
Place the following at the bottom of your routes.rb:
map.connect '/', :controller => 'controllername', :action => 'actionname'
map.connect ':controller/:action/:id.:format'
map.connect ':controller/:action/:id'
James
Barry Kukkuk
unread,
Apr 14, 2009, 8:09:39 AM
4/14/09
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonrail...@googlegroups.com
Thanks James! I should have known that. I just somehow thought it was a Goldberg Setting! :-)
--
Barry Kukkuk
www.btgtech.co.za
- You Photoshop, we Database
Reply all
Reply to author
Forward
0 new messages