snap-cloud / snap-cloud-rails

DEPRECATED -- A prototype Rails-based cloud service for Snap! Go Here →
https://github.com/bromagosa/snapCloud
GNU Affero General Public License v3.0
5 stars 1 forks source link

Auth: Routes that Require Login should redirect back on success #84

Open cycomachead opened 9 years ago

cycomachead commented 9 years ago

If you try to visit a page that requires login, then the login form should redirect you back to that page when you click login.

Simple solution: redirect with a ?redirect=url querystring.