lib/generators/adminpanel/resource/resource_generator.rb in adminpanel-1.2.6 vs lib/generators/adminpanel/resource/resource_generator.rb in adminpanel-1.2.7

- old
+ new

@@ -248,10 +248,10 @@ generate_gallery return "\n\t\tmount_images :#{@attr_field.pluralize.downcase}\n" end def generate_gallery - Rails::Generators.invoke("adminpanel:gallery", [@attr_field, lower_name]) + Rails::Generators.invoke("adminpanel:gallery", lower_name) end end end end