Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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

  • #2
    New Coder
    Join Date
    Jun 2009
    Location
    Manipal
    Posts
    45
    Thanks
    2
    Thanked 3 Times in 3 Posts
    Ya, check out the routes.rb in config/ folder . Or, type rake routes in the terminal. You would get a list of all routes

  • #3
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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

  • #4
    New to the CF scene
    Join Date
    Aug 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •