app/controllers/pulitzer/posts_controller.rb in pulitzer-0.12.5 vs app/controllers/pulitzer/posts_controller.rb in pulitzer-0.13.0

- old
+ new

@@ -1,6 +1,6 @@ class Pulitzer::PostsController < Pulitzer::ApplicationController - before_filter :get_post, only: [:show, :edit, :edit_title, :edit_slug, :show_slug, :update, + before_action :get_post, only: [:show, :edit, :edit_title, :edit_slug, :show_slug, :update, :update_slug, :processing_preview] before_action :get_version, only: [:edit_slug, :show_slug, :update_slug] def index @post_type = Pulitzer::PostType.find params[:post_type_id]