Sha256: 5ccfb800ac121544bb021dce1cf0c98aed1ce073ef3ac14e6d92467f73ba1967

Contents?: true

Size: 266 Bytes

Versions: 1

Compression:

Stored size: 266 Bytes

Contents

require 'main/view'

module Views
  module Users
    class Index < Main::View
      configure do |config|
        config.template = 'users/index'
      end

      def locals(options)
        { users: [{ name: 'Jane' }, { name: 'Joe' }] }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rodakase-0.0.1 spec/dummy/apps/main/lib/views/users/index.rb