Sha256: 37d0a4d54823fe4d25e56c787b37cc8abc7648381846f9ccbf1cceb5d53670f0
Contents?: true
Size: 436 Bytes
Versions: 1
Compression:
Stored size: 436 Bytes
Contents
require 'abstract_application' <% if options[:scaffold] -%> require '<%= file_name %>' <% end -%> class <%= class_name %>Controller < AbstractApplicationController helper :<%= file_name %> <% if options[:scaffold] -%> scaffold :<%= options[:scaffold] %> <%- for action in actions -%> #def <%= action %> #end <%- end -%> <% else -%> <%- for action in actions -%> def <%= action %> end <%- end -%> <% end -%> end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails-0.8.5 | generators/templates/controller.erb |