Sha256: 7376a9fc3f3573d49f7d466834747abcdf65571f9eb6db2a107192532ce38a22
Contents?: true
Size: 364 Bytes
Versions: 15
Compression:
Stored size: 364 Bytes
Contents
<% if namespaced? -%> require_dependency "<%= namespaced_path %>/application_controller" <% end -%> <% module_namespacing do -%> class <%= class_name %>Controller < ::<%= file_name.camelize %>Controller include Motorhead::Controller <% actions.each do |action| -%> def <%= action %> end <%= "\n" unless action == actions.last -%> <% end -%> end <% end -%>
Version data entries
15 entries across 15 versions & 1 rubygems