Refactor app in to its own slice

This commit is contained in:
2024-02-17 10:40:36 +11:00
parent b809b132d3
commit a6078f882e
161 changed files with 16176 additions and 193 deletions

13
slices/main/view.rb Normal file
View File

@@ -0,0 +1,13 @@
# auto_register: false
# frozen_string_literal: true
require "hanami/view"
module Main
class View < Hanami::View
config.default_context = Adamantium::Context.new
config.layouts_dir = "layouts"
config.layout = "app"
config.paths = "slices/main/templates"
end
end