Skip to content

Commit

Permalink
Refactor html and page serveing logic into modules (#593)
Browse files Browse the repository at this point in the history
* start a HTML module

* Move to its own file. rename handle_snapshot_request to serve_snapshot_request

* Normalize methods serving data up with serve prefix, and no 'request' suffix. Move those to their own actions module

* helps to actually add stuff. move more logic in call into serve_ methods

* rename html to views. also, apparently forgot to add actions.rb

* move resources_root and share_template to views. fix some calls that were missing client_settings

* refactor to a case statement

* Pull self.current management out of the actions, and back up to call

* revert change to website
  • Loading branch information
technicalpickles committed Dec 4, 2023
1 parent f20c4c6 commit 570809b
Show file tree
Hide file tree
Showing 3 changed files with 371 additions and 333 deletions.

0 comments on commit 570809b

Please sign in to comment.