discourse-subscriptions/spec
Justin DiRose 3a5078ded6
REFACTOR: Simplify controller setup (#24)
The code in the plugin needed a dramatic cleanup. This refactor collapses the Plan/Product/Subscription controllers on the backend into one new controller: `SubscribeController`.

This reduces N+1 calls to the back end during the subscription process and simplifies use of the code. 

I've also removed a bunch of dead code and refactored some logic into methods for easier readability. No feature/functionality changes in this commit; only refactoring. However, refactoring will allow for implementation of better anonymous user handling, so this is largely a foundation to enable making that change.
2020-10-21 13:36:31 -05:00
..
fabricators REFACTOR: Use models to store data (#11) 2020-05-22 11:20:05 -05:00
models name space module 2019-12-04 11:23:45 +11:00
requests REFACTOR: Simplify controller setup (#24) 2020-10-21 13:36:31 -05:00
plugin_helper.rb fix path to fabricators 2019-12-03 11:01:44 +11:00