app/controllers/pulitzer/versions_controller.rb in pulitzer-0.11.2 vs app/controllers/pulitzer/versions_controller.rb in pulitzer-0.11.3

- old
+ new

@@ -4,10 +4,10 @@ def edit if @version.preview? route = "#{Pulitzer.preview_namespace}_#{@post.post_type.name.parameterize('_')}_path" @preview_path = main_app.public_send(route, @post.slug) if main_app.respond_to?(route) end - render_ajax locals: {version: @version} + render_ajax locals: { version: @version } end def update status_updater = Pulitzer::UpdateVersionStatus.new(@version, @status) if status_updater.errors.any?