technoweenie / restful-authentication

inactive project
MIT License
1.57k stars 280 forks source link

Default redirect for 'SessionsController#create' template is hard coded #14

Open bluehavana opened 14 years ago

bluehavana commented 14 years ago

In the SessionsController#create and SessionsController#destroy actions, the path for redirect_back_or_default is hard coded to '/'. Could this be changed to root_path for users that have the rails app running under a sub-url? Since this can be changed pretty easy by the user, might not need a "fix", but would be a lot easier.