lib/generators/somatics/scaffold_controller/templates/controller.rb in somatics3-generators-0.0.7 vs lib/generators/somatics/scaffold_controller/templates/controller.rb in somatics3-generators-0.0.8

- old
+ new

@@ -1,5 +1,5 @@ -class <%=namespace_class%>::<%= controller_class_name %>Controller < Admin::AdminController +class <%=namespace_class%>::<%= controller_class_name %>Controller < <%=namespace_class%>::AdminController # Redmine Filters # available_filters :id, {:name => 'ID', :type => :integer, :order => 1} <% attributes.each_with_index do |attribute, index| -%> # available_filters :<%=attribute.name%>, {:name => '<%=attribute.name.humanize%>', :type => :<%=attribute.type%>, :order => <%=index%>}