Sha256: 599dc6bb7a02e7f5bc05685962d37d089a6b2889e3a43bb33d9b66b9eb065ed7

Contents?: true

Size: 391 Bytes

Versions: 4

Compression:

Stored size: 391 Bytes

Contents

#
#  Project <%= @app.environment.appname %>
#
#  Created using bivouac on <%= Time.now %>.
#  Copyright (c) <%= Time.now.year %> __My__. All rights reserved.
#

module <%= @app.environment.appname %>::Controllers
  class <%= @controller_class_name %><%= @controller_routes %>
    def get
      render :<%= @view_name %>
    end
    def post
      render :<%= @view_name %>
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bivouac-0.2.0 lib/bivouac/template/generate/controller.rb
bivouac-0.2.1 lib/bivouac/template/generate/controller.rb
bivouac-0.2.2 lib/bivouac/template/generate/controller.rb
bivouac-0.2.3 lib/bivouac/template/generate/controller.rb