Sha256: 875003c4fdcb6198dd2be5dac2bd7245abb6660480b877535abe292c76d4ac74
Contents?: true
Size: 268 Bytes
Versions: 1
Compression:
Stored size: 268 Bytes
Contents
module <%= class_name %> class HomeController < ::<%= class_name %>Controller meta_for(:title) { I18n.t('<%= singular_name %>.home.title') } def index <%- if @access.cancan? -%> authorize! :show, :client_home <%- end -%> end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
billet-0.0.1 | lib/generators/billet/namespace/templates/controllers/crud_controllers/home_controller.rb.erb |