X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/4248e10946c9f60020112c969591b867c6f8fb19..3763cbc7d4cdf3fdead477ee093b3c82aabd49fe:/app/controllers/notes_controller.rb diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index 1de58af90..f4667bef5 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -1,6 +1,7 @@ class NotesController < ApplicationController layout "site", :only => [:mine] + skip_before_action :verify_authenticity_token, :except => [:mine] before_action :check_api_readable before_action :authorize_web, :only => [:mine] before_action :setup_user_auth, :only => [:create, :comment]