Erich88
04-29-2010, 12:41 PM
I have a RoR application using the restful authentication plugin. Unfortunately I haven't figured out yet how to get back to my index site after using it. Whenever I log in, log out or register a new user I get back to http://127.0.0.1:3000/ instead of http://127.0.0.1:3000/project_path
Is there any way to change this?
Thanks for your help!
Erich
kar2905
06-24-2010, 02:41 PM
Ya, check out the routes.rb in config/ folder . Or, type rake routes in the terminal. You would get a list of all routes
orangegigs
08-18-2010, 01:04 PM
I have a RoR application using the restful authentication plugin. Unfortunately I haven't figured out yet how to get back to my index site after using it. Whenever I log in, log out or register a new user I get back to http://127.0.0.1:3000/ instead of http://127.0.0.1:3000/project_path
Is there any way to change this?
Thanks for your help!
Erich
First you have to check out the routes file in the config folder bcoz all the mapping in the MVC are done from there. you should map the controller and its action according to your project's objective. you can also view my following website which is developed using RoR.
http://www.orangegigs.com
orangegigs
08-18-2010, 01:05 PM
First you have to check out the routes file in the config folder bcoz all the mapping in the MVC are done from there. you should map the controller and its action according to your project's objective. you can also view my following website which is developed using RoR.
http://www.orangegigs.com