Sha256: 3fc6651aae5fccbf75173fe0fd911e2606fd9e89178108770aa648b4e403fa63

Contents?: true

Size: 331 Bytes

Versions: 1

Compression:

Stored size: 331 Bytes

Contents

require 'rodakase/view'
require_relative 'container'

module Main
  class Page
    def title
      'Woohaa'
    end
  end
end

module Main
  class View < Rodakase::View::Layout
    setting :root, Container.root.join('web/templates')
    setting :scope, Page.new
    setting :engine, :slim
    setting :name, 'app'.freeze
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rodakase-0.0.1 spec/dummy/apps/main/core/main/view.rb