1
0
Fork 0
forked from OpenNeo/impress
impress/app/controllers
Emi Matchu a03ae90697 Move more of the trade-fetching logic into the model
It was a bit tricky to figure out the right API for this, since I'm
looking ahead to the possibility of splitting these across multiple
pages with more detail, like we do in DTI 2020.

What I like about this API is that the caller gets to apply, or not
apply, whatever scopes they want to the underlying hanger set (like
`includes` or `order`), without violating the usual syntax by e.g.
passing it as a parameter to a method.
2024-01-21 00:39:20 -08:00
..
application_controller.rb Add mini profiler to each page 2023-10-27 19:38:49 -07:00
campaigns_controller.rb new donate layout for post-2017 campaign 2018-01-18 17:14:02 -08:00
closet_hangers_controller.rb Fix closet list petpage export 2023-11-06 12:55:03 -08:00
closet_lists_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00
contributions_controller.rb remove N+1 queries in contributions#index 2013-01-25 15:23:48 -06:00
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
item_appearances_controller.rb Load item page restricted zones data from Rails app, not impress-2020 2023-11-11 08:49:19 -08:00
items_controller.rb Move more of the trade-fetching logic into the model 2024-01-21 00:39:20 -08: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 closet hangers index uses neopets connections dropdown 2014-01-18 22:50:14 -06:00
neopets_page_import_tasks_controller.rb Fix petpage etc import 2023-11-06 12:59:28 -08:00
outfits_controller.rb Add support for is_manually_nc 2023-11-03 16:27:39 -07:00
pet_types_controller.rb Create endpoint to show all species appearances for a given color 2023-12-05 18:04:54 -08:00
pets_controller.rb Delete unused roulette feature 2023-10-24 19:05:18 -07: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
users_controller.rb Use flash[:notice] instead of flash[:success] 2023-10-23 19:05:07 -07:00