Sha256: 1e0280e3df48de8f7e7bb827bf723c51567a6b5f68bf0f73087fbd1f32de78d9

Contents?: true

Size: 619 Bytes

Versions: 7

Compression:

Stored size: 619 Bytes

Contents

# encoding: utf-8

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

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

module <%= @name.camel_case %>
  class Application < Rango::Controller
    include Rango::FiltersMixin
    include Rango::MessageMixin
    include Rango::RenderMixin
  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

7 entries across 7 versions & 1 rubygems

Version Path
rango-0.1.1.2.5 stubs/app/content/views.rb.rbt
rango-0.1.1.2.4 stubs/app/content/views.rb.rbt
rango-0.1.1.2.3 stubs/app/content/views.rb.rbt
rango-0.1.1.2.2 stubs/app/content/views.rb.rbt
rango-0.1.1.2.1 stubs/app/content/views.rb.rbt
rango-0.1.1.2 stubs/app/content/views.rb.rbt
rango-0.1.1.1 stubs/app/content/views.rb.rbt