X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a4de927a2800e0fc739460cee5a71e58d09d25f9..5449cf4adcc1fad4b9f43426e6d3e4a8f65e6fbb:/app/controllers/message_controller.rb diff --git a/app/controllers/message_controller.rb b/app/controllers/message_controller.rb index a04aa82c0..8f866e512 100644 --- a/app/controllers/message_controller.rb +++ b/app/controllers/message_controller.rb @@ -3,6 +3,8 @@ class MessageController < ApplicationController before_filter :authorize_web before_filter :require_user + before_filter :check_database_readable + before_filter :check_database_writable, :only => [:new, :reply, :mark] # Allow the user to write a new message to another user. This action also # deals with the sending of that message to the other user when the user