lib/generators/adminpanel/resource/templates/adminpanel_resource_template.rb in adminpanel-2.2.5 vs lib/generators/adminpanel/resource/templates/adminpanel_resource_template.rb in adminpanel-2.3.0
- old
+ new
@@ -5,19 +5,19 @@
<%= associations if has_associations? -%>
<%= get_gallery if has_gallery? -%>
def self.form_attributes
[
-<%= indent(get_attribute_hash, 8) + ',' %>
+<%= indent(get_attribute_hash, 8) + "," %>
<%= indent(file_field_form_hash, 8) if has_gallery? %>
]
end
def self.display_name
'<%= camelized_resource %>' #singular
end
# def self.icon
- # 'truck' # fa-{icon}
+ # "truck" # fa-{icon}
# end
end
end