Allow third party images in user content

This commit is contained in:
Tom Hughes 2017-11-23 22:39:05 +00:00
parent 3c4774a5f7
commit bb116b85df
4 changed files with 7 additions and 0 deletions

View 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