]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/message_controller.rb
Fix security policy for mapillary in iD
[rails.git] / app / controllers / message_controller.rb
index 29b74c8480fb97799450d8b26c17ea6f0775f738..3952b67ca47e1ae40a0b15ff593054e8f146c73e 100644 (file)
@@ -7,6 +7,7 @@ class MessageController < ApplicationController
   before_action :lookup_this_user, :only => [:new]
   before_action :check_database_readable
   before_action :check_database_writable, :only => [:new, :reply, :mark]
+  before_action :allow_thirdparty_images, :only => [:new, :read]
 
   # 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