X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/544113affae90f5ca661021a980ab0a9c2c2b2d1..97e0d5ad1f89b4717ddcc5d7280dc6c39341aa93:/app/controllers/notes_controller.rb diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index b25dc9a9e..b7d6631ae 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -7,6 +7,7 @@ class NotesController < ApplicationController before_filter :setup_user_auth, :only => [:create, :comment] before_filter :authorize, :only => [:close, :destroy] before_filter :check_api_writable, :only => [:create, :comment, :close, :destroy] + before_filter :require_allow_write_notes, :only => [:create, :comment, :close, :destroy] before_filter :set_locale, :only => [:mine] after_filter :compress_output around_filter :api_call_handle_error, :api_call_timeout