aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/admin/blog/posts_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/admin/blog/posts_controller.rb')
-rw-r--r--app/controllers/admin/blog/posts_controller.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/app/controllers/admin/blog/posts_controller.rb b/app/controllers/admin/blog/posts_controller.rb
new file mode 100644
index 0000000..291571c
--- /dev/null
+++ b/app/controllers/admin/blog/posts_controller.rb
@@ -0,0 +1,5 @@
+class Admin::Blog::PostsController < Admin::BaseController
+
+ crudify :blog_post, :title_attribute => :title, :order => 'created_at DESC'
+
+end