1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers
Matchu 45090b8d1c Login/logout returns you to the same page
In the login case, we save the `return_to` parameter in the session, because login can be a multi-step process.

In the logout case, we just read it directly from the form params.

Note that you *could* end up in a weird scenario where an old return_to value sticks around for a bit? But we have the sense to delete it when we use it on a successful sign-in, and most links to the login page come with a `return_to` param which should reset it. So, you'd have to 1) have started but not finished a sign-in, 2) during the same session, and 3) get to the login page by an unusual means.

Probably fine!
2023-10-23 19:05:08 -07:00
..
application_controller.rb Login/logout returns you to the same page 2023-10-23 19:05:08 -07:00
campaigns_controller.rb new donate layout for post-2017 campaign 2018-01-18 17:14:02 -08:00
closet_hangers_controller.rb
closet_lists_controller.rb
contributions_controller.rb
donation_features_controller.rb
donations_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
items_controller.rb
locales_controller.rb
neopets_connections_controller.rb
neopets_page_import_tasks_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
neopets_users_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
outfits_controller.rb
pet_attributes_controller.rb use funny ordering in wardrobe, too 2014-03-27 22:45:34 -05:00
pet_types_controller.rb a functioning wardrobe 2010-10-10 22:18:42 -04:00
pets_controller.rb
roulettes_controller.rb roulette system :) 2011-01-27 16:35:46 -05:00
sitemap_controller.rb move from with_translations to includes(:translations), since we dont usually care about requiring 2013-01-24 18:26:00 -06:00
static_controller.rb yum, new campaigns 2015-08-05 19:26:12 -04:00
sweeper_controller.rb cache item show pages as a first try :) 2010-12-08 20:15:46 -05:00
swf_assets_controller.rb Remove SWF conversion 2023-10-23 19:05:04 -07:00
users_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
zones_controller.rb Improve zones.json performance 2023-10-23 19:05:03 -07:00