comfy-admin-constructor 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -38,7 +38,7 @@ class CmsAdminGenerator < Rails::Generators::Base
|
|
38
38
|
end
|
39
39
|
|
40
40
|
def create_controller
|
41
|
-
template 'controller.rb', "app/controllers/#{admin_prefix}/#{plural_name}_controller.rb"
|
41
|
+
template 'controller.rb', "app/controllers/#{admin_prefix.underscore}/#{plural_name}_controller.rb"
|
42
42
|
end
|
43
43
|
|
44
44
|
def create_form
|