g0nzo
1
Hi!
Assume that there are 2 controllers: user and admin.
Is it possible to remove ‘user’ from the url?
So i.e. if you’re trying to login, you won’t access
www.server.com/user/login
but
www.server.com/login
Is it possible to do something like this with groups of controllers (if
user was just the name of a group of controllers).
g0nzo
2
Look at config/routes.rb where you can setup aliases for your
controllers/actions
On Saturday, March 18, 2006, at 12:12 PM, szymek wrote:
www.server.com/login
Is it possible to do something like this with groups of controllers (if
user was just the name of a group of controllers).
–
Posted via http://www.ruby-forum.com/.
Rails mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails
Mikkel B.
www.strongside.dk - Football Portal(DK)
nflfeed.helenius.org - Football News(DK)
ting.minline.dk - Buy Old Stuff!(DK)