lib/generators/adminpanel/gallery/gallery_generator.rb in adminpanel-2.6.0 vs lib/generators/adminpanel/gallery/gallery_generator.rb in adminpanel-2.6.1
- old
+ new
@@ -28,10 +28,10 @@
def lower_name
"#{reference_name}file"
end
def class_name
- "#{lower_name.capitalize}"
+ "#{reference_name.camelize}file"
end
end
end