Go Back   CodingForums.com > :: Server side development > Ruby & Ruby On Rails

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 04-29-2010, 12:41 PM   PM User | #1
Erich88
New to the CF scene

 
Join Date: Apr 2010
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Erich88 is an unknown quantity at this point
Problem with restful authentication

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
Erich88 is offline   Reply With Quote
Old 06-24-2010, 02:41 PM   PM User | #2
kar2905
New Coder

 
Join Date: Jun 2009
Location: Manipal
Posts: 45
Thanks: 2
Thanked 3 Times in 3 Posts
kar2905 is an unknown quantity at this point
Ya, check out the routes.rb in config/ folder . Or, type rake routes in the terminal. You would get a list of all routes
__________________
Kartik Mandaville
http://www.mkartik.com
http://twitter.com/kar2905/
kar2905 is offline   Reply With Quote
Old 08-18-2010, 01:04 PM   PM User | #3
orangegigs
New to the CF scene

 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
orangegigs is an unknown quantity at this point
Quote:
Originally Posted by Erich88 View Post
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 is offline   Reply With Quote
Old 08-18-2010, 01:05 PM   PM User | #4
orangegigs
New to the CF scene

 
Join Date: Aug 2010
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
orangegigs is an unknown quantity at this point
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 is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 09:05 AM.


Advertisement
Log in to turn off these ads.