Sha256: 3c9b869741dc51be4af0f2f9d894218e5eb678924d3bc21f0c92f990198d172c
Contents?: true
Size: 369 Bytes
Versions: 1
Compression:
Stored size: 369 Bytes
Contents
<% if namespaced? -%> require_dependency "<%= namespaced_path %>/application_controller" <% end -%> <% module_namespacing do -%> class <%= class_name %>Controller < ApplicationController <% @actions.each do |action| -%> def <%= action %> <%= generate_action_code(action) %> end <%= "\n" -%> <% end -%> private <%= generate_strong_params_def %> end <% end -%>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
controller_scaffolding-1.4.4 | lib/templates/rails/controller/controller.rb |