Sha256: b1b348b17213f22eb51ad1de27c0195fc9b5824b64886d4c7d99ba80101b199b
Contents?: true
Size: 409 Bytes
Versions: 24
Compression:
Stored size: 409 Bytes
Contents
class <%= class_name %> < Merb::Controller def _template_location(action, type = nil, controller = controller_name) controller == "layout" ? "layout.#{action}.#{type}" : "#{action}.#{type}" end def index "Hello, I am flat Merb application. I only have one single file for the application, single file for configs and routes, and a directory for views." end def foo render end end
Version data entries
24 entries across 24 versions & 1 rubygems