Sha256: 87d3092b5e81ea44617ead19abcb4c201a8e6314dff7a3f2d3a3c67c243517e6
Contents?: true
Size: 699 Bytes
Versions: 5
Compression:
Stored size: 699 Bytes
Contents
# This application files as generated by jruby-enginize. begin require 'appengine-apis/merb-logger' rescue Exception end # Class EngineApp implements the only controller of this application. class EngineApp < Merb::Controller layout :engine_app # Returns the location of the template depending on controller and action. # Modified to match our flat world. # # Parameters: # # [action] Name of the action # [type] Requested format # [controller] Name of the controller def _template_location(action, type = nil, controller = controller_name) (controller == 'layout' ? "layout.#{action}.#{type}" : "#{action}.#{type}") end # GET / def index render end end
Version data entries
5 entries across 5 versions & 1 rubygems