Sha256: d0ce6cd8c6db1cfa4e4c5c94caa767492d6955f2f51bf0dc0bb4725e8a0760e5

Contents?: true

Size: 628 Bytes

Versions: 3

Compression:

Stored size: 628 Bytes

Contents

# encoding: utf-8

# http://wiki.github.com/botanicus/rango/controllers

require "rango/controller"
require "rango/mixins/filters"
require "rango/mixins/rendering"
require "rango/mixins/message"

module <%= @name.camel_case %>
  class Application < Rango::Controller
    include Rango::FiltersMixin
    include Rango::MessageMixin
    include Rango::ExplicitRendering
  end

  class ShowCase < Application
    def index
      render "index.html"
    end
  end

  <% @controllers.each do |controller| %>
  class <%= controller.camel_case %> < Application
    # TODO: implement <%= controller %> controller
  end

  <% end %>
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rango-0.1.1.2.8 stubs/app/content/views.rb.rbt
rango-0.1.1.2.7 stubs/app/content/views.rb.rbt
rango-0.1.1.2.6 stubs/app/content/views.rb.rbt