comfy-admin-constructor 0.3.5 → 0.3.6
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
class <%= admin_prefix %>::<%= plural_class_name %>Controller < CmsAdmin::BaseController
|
1
|
+
class <%= admin_prefix.underscore.humanize.downcase.titleize.pluralize %>::<%= plural_class_name %>Controller < CmsAdmin::BaseController
|
2
2
|
|
3
3
|
before_filter :load_<%= class_name.underscore.downcase %>, :except => [ :index, :new, :create ]
|
4
4
|
before_filter :build_<%= class_name.underscore.downcase %>, :only => [ :new, :create ]
|