-
need suggestions from you..
i have been trying to develope a full fledged website in ROR . it is almost complete.
But i have a problem
number1.
admin is my first controller to enter the application
therefore i write http://localhost:3000/admin to see the login page
can i anyways just write http://localhost/ and see the index page of the admin controller.
i mean i write the url http://localhost:3000/ and it automatically redirects to http://localhost:3000/admin
ihave tried
[map.connect '',:controller =>'admin',:action=>'index']
but it gives routing errors.
thanks in advance
Gaurav
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks