aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/admin/categories_controller.rb
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2012-01-09 10:38:26 +1300
committerPhilip Arndt <parndt@gmail.com>2012-01-17 16:56:23 +1300
commitb3a25c1b686d205fc6b8b409a8f90059ae6b934d (patch)
treeb0590a4c85422d000a22423114849fd1679392dd /app/controllers/refinery/blog/admin/categories_controller.rb
parent2a2fcca64972bc2fb6a3530395366fb2ade42303 (diff)
downloadrefinerycms-blog-b3a25c1b686d205fc6b8b409a8f90059ae6b934d.tar.gz
refinerycms-blog-b3a25c1b686d205fc6b8b409a8f90059ae6b934d.tar.bz2
refinerycms-blog-b3a25c1b686d205fc6b8b409a8f90059ae6b934d.zip
Restructured part of the project to Refinery::Blog::Admin not Refinery::Admin::Blog
Diffstat (limited to 'app/controllers/refinery/blog/admin/categories_controller.rb')
-rw-r--r--app/controllers/refinery/blog/admin/categories_controller.rb13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/controllers/refinery/blog/admin/categories_controller.rb b/app/controllers/refinery/blog/admin/categories_controller.rb
new file mode 100644
index 0000000..cbde1cc
--- /dev/null
+++ b/app/controllers/refinery/blog/admin/categories_controller.rb
@@ -0,0 +1,13 @@
+module Refinery
+ module Blog
+ module Admin
+ class CategoriesController < ::Refinery::AdminController
+
+ crudify :'refinery/blog/category',
+ :title_attribute => :title,
+ :order => 'title ASC'
+
+ end
+ end
+ end
+end