diff options
-rw-r--r-- | app/controllers/refinery/blog/admin/categories_controller.rb | 1 | ||||
-rw-r--r-- | app/controllers/refinery/blog/admin/posts_controller.rb | 4 |
2 files changed, 1 insertions, 4 deletions
diff --git a/app/controllers/refinery/blog/admin/categories_controller.rb b/app/controllers/refinery/blog/admin/categories_controller.rb index cbde1cc..0a3b7b9 100644 --- a/app/controllers/refinery/blog/admin/categories_controller.rb +++ b/app/controllers/refinery/blog/admin/categories_controller.rb @@ -4,7 +4,6 @@ module Refinery class CategoriesController < ::Refinery::AdminController crudify :'refinery/blog/category', - :title_attribute => :title, :order => 'title ASC' end diff --git a/app/controllers/refinery/blog/admin/posts_controller.rb b/app/controllers/refinery/blog/admin/posts_controller.rb index 5b50c75..f307a74 100644 --- a/app/controllers/refinery/blog/admin/posts_controller.rb +++ b/app/controllers/refinery/blog/admin/posts_controller.rb @@ -6,9 +6,7 @@ module Refinery cache_sweeper Refinery::BlogSweeper crudify :'refinery/blog/post', - :title_attribute => :title, - :order => 'published_at DESC', - :redirect_to_url => "refinery.blog_admin_posts_path" + :order => 'published_at DESC' before_filter :find_all_categories, :only => [:new, :edit, :create, :update] |