Sha256: a2fdb46747f1d301bbe7a58543ee4c5f295f5939dababf2ef8409a19a64b21dd
Contents?: true
Size: 442 Bytes
Versions: 12
Compression:
Stored size: 442 Bytes
Contents
require_relative 'application_controller' require_relative '../views/<%= object.name %>' module <%= object.app_name %> class <%= object.name_as_class %>Controller < <%= object.app_name -%>::ApplicationController controller_name :<%= object.name %> def initialize <%= object.app_name %>::<%= object.name_as_class %>View.render(*args) end private def args end def object nil end end end
Version data entries
12 entries across 12 versions & 1 rubygems