2e025d26c3
- Add zeitwerk to the gemspec - Add `lib/hanami-controller.rb` so the gem follows a conventional structure - Set up the Zeitwerk loader inside `lib/hanami/action.rb` (call it `.gem_loader` instead of `.loader` like we have done in other gems, since `Hanami::Action` is a class with other responsibilities, and `loader` is too generic a term) - Move conditional requires below the `gem_loader.setup` line to ensure any internal autoloader work - Remove all now-unneeded manual requires for files inside the gem |
||
---|---|---|
.. | ||
hanami | ||
hanami-controller.rb |