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
closet_hangers_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
closet_lists_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
contributions_controller.rb
donation_features_controller.rb homepage outfit features 2014-09-10 15:38:26 -05:00
donations_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
items_controller.rb Upgrade to Rails 5.2.8.1 2023-10-23 19:05:05 -07:00
locales_controller.rb locale cookie should be long-term, not a session cookie 2013-01-24 18:24:33 -06:00
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 Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
pet_attributes_controller.rb
pet_types_controller.rb
pets_controller.rb Fix stray bugs on minor codepaths 2023-10-23 19:05:06 -07:00
roulettes_controller.rb roulette system :) 2011-01-27 16:35:46 -05:00
sitemap_controller.rb
static_controller.rb
sweeper_controller.rb
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