controller.rb 169 Bytes Edit Raw Blame History 1 2 3 4 5 class <%= class_name %>Controller < InheritedResources::Base <% if actions.any? -%> actions <%= actions.collect { |action| ":#{action}" }.join(", ") %> <% end -%> end