app/controllers/admin/blog/posts_controller.rb in refinerycms-blog-0.9.8.dev1 vs app/controllers/admin/blog/posts_controller.rb in refinerycms-blog-0.9.8.0.rc1

- old
+ new

@@ -1,8 +1,12 @@ class Admin::Blog::PostsController < Admin::BaseController - crudify :blog_post, :title_attribute => :title, :order => 'created_at DESC' - before_filter :find_all_categories, :only => [:new, :edit, :create, :update] + crudify :blog_post, + :title_attribute => :title, + :order => 'created_at DESC' + + before_filter :find_all_categories, + :only => [:new, :edit, :create, :update] protected def find_all_categories @blog_categories = BlogCategory.find(:all) end