1
0
Fork 0
forked from OpenNeo/impress
impress/app/helpers
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_helper.rb Login/logout returns you to the same page 2023-10-23 19:05:08 -07:00
campaigns_helper.rb campaign 2015 copy updates 2015-08-30 16:49:46 -07:00
closet_hangers_helper.rb bulk action bar renders, but does nothing 2015-09-26 15:31:55 -07:00
closet_lists_helper.rb move closet-hanger-destroy form to JS 2013-06-22 15:45:59 -07:00
closet_pages_helper.rb closet page importer also warns to log in in another window 2011-07-25 14:15:23 -04:00
contribution_helper.rb oh dang, did we just fix most of the mixed content? 2015-08-05 20:11:08 -04:00
donations_helper.rb edit featured outfits on donation page 2014-09-09 23:16:02 -05:00
item_zone_sets_helper.rb item zone sets jsonp controller 2010-06-26 16:29:23 -04:00
items_helper.rb Simplify item_link rendering 2023-10-23 19:05:04 -07:00
neopets_page_import_tasks_helper.rb refactor importing 2015-07-27 13:25:24 -04:00
outfits_helper.rb Upgrade to Rails 7.0.6 2023-10-23 19:05:07 -07:00
static_helper.rb for large donations, show a banner instead of their placeholder outfits 2014-09-13 20:54:39 -05:00