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