comfy-admin-constructor 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
class
|
1
|
+
class <%= admin_prefix %>::<%= 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 ]
|