Sha256: c0fd1ed60e13a00769cb2687d80feb69ac4145d29086457a3432584a90405400
Contents?: true
Size: 699 Bytes
Versions: 4
Compression:
Stored size: 699 Bytes
Contents
# This application file was 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
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
ulbrich-jruby-enginize-0.7.1 | templates/merb/app.rb |
ulbrich-jruby-enginize-0.7.2 | templates/merb/app.rb |
jruby-enginize-0.9 | templates/merb/app.rb |
jruby-enginize-0.8 | templates/merb/app.rb |