Sha256: aa8e08cf508349f46820fcabd82d866bf301516905c24159344e377884d342de
Contents?: true
Size: 346 Bytes
Versions: 10
Compression:
Stored size: 346 Bytes
Contents
require 'slim' require 'dry-view' require_relative 'container' module Main class Page def title 'Woohaa' end end end module Main class View < Dry::View::Layout setting :root, Container.root.join('web/templates') setting :scope, Page.new setting :formats, {html: :slim} setting :name, 'app'.freeze end end
Version data entries
10 entries across 10 versions & 2 rubygems