Sha256: 60365b375e44dc0c096ce0c0e18789e45209966c24d09e398cf234a2ce7c2d76
Contents?: true
Size: 418 Bytes
Versions: 6
Compression:
Stored size: 418 Bytes
Contents
# encoding: utf-8 class MerbFlat < 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
6 entries across 6 versions & 1 rubygems