aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin/blog/categories_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/blog/categories_controller.rb')
-rw-r--r--app/controllers/admin/blog/categories_controller.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/app/controllers/admin/blog/categories_controller.rb b/app/controllers/admin/blog/categories_controller.rb
index fe15a0b..6933c44 100644
--- a/app/controllers/admin/blog/categories_controller.rb
+++ b/app/controllers/admin/blog/categories_controller.rb
@@ -1,7 +1,11 @@
-class Admin::Blog::CategoriesController < Admin::BaseController
+module Admin
+ module Blog
+ class CategoriesController < Admin::BaseController
- crudify :blog_category,
- :title_attribute => :title,
- :order => 'title ASC'
+ crudify :blog_category,
+ :title_attribute => :title,
+ :order => 'title ASC'
+ end
+ end
end