Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

return to return_to after login

  • Loading branch information...
commit a82bac249e3eca5d72a3f9320b0cb63ed532ed5b 1 parent 3aa8979
@mooktakim authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  app/controllers/omnisocial/auth_controller.rb
View
2  app/controllers/omnisocial/auth_controller.rb
@@ -36,7 +36,7 @@ def callback
account.save
end
- redirect_back_or_default(root_path)
+ redirect_back_or_default(session['return_to'] || root_path)
end
def failure
Please sign in to comment.
Something went wrong with that request. Please try again.