Sha256: 88a59ae41584d4d25b25e95166efdae9b1e858e3d842030ffe10f798b6ca13ab
Contents?: true
Size: 430 Bytes
Versions: 14
Compression:
Stored size: 430 Bytes
Contents
# auto_register: false require "slim" require "dry-view" require "<%= config[:underscored_project_name] %>/container" module <%= config[:camel_cased_app_name] %> module View class Controller < Dry::View::Controller configure do |config| config.paths = [Container.root.join("web/templates")] config.context = Container["view.context"] config.layout = "application" end end end end
Version data entries
14 entries across 7 versions & 1 rubygems