Sha256: 914c93aaec993093a9ec12c8206380106e20fe5042e6393869cf9ffe13406f2b
Contents?: true
Size: 483 Bytes
Versions: 15
Compression:
Stored size: 483 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 :<%= object.name %> action :list action :show # add more actions and implement or remove existing actions def list end def show <%= object.app_name %>::<%= object.name_as_class %>View.render(params) end end end
Version data entries
15 entries across 15 versions & 2 rubygems