app/controllers/ckeditor/pictures_controller.rb in ckeditor-4.2.3 vs app/controllers/ckeditor/pictures_controller.rb in ckeditor-4.2.4
- old
+ new
@@ -1,6 +1,6 @@
class Ckeditor::PicturesController < Ckeditor::ApplicationController
- skip_before_action :verify_authenticity_token, only: :create
+ skip_before_action :verify_authenticity_token, only: :create, raise: false
def index
@pictures = Ckeditor.picture_adapter.find_all(ckeditor_pictures_scope)
@pictures = Ckeditor::Paginatable.new(@pictures).page(params[:page])