Allow thirdparty images on failed diary comment saves

This commit is contained in:
Anton Khorev 2025-01-05 09:55:48 +03:00
parent 201796cced
commit 11b887c118
2 changed files with 2 additions and 1 deletions

View file

@ -13,7 +13,7 @@ class DiaryCommentsController < ApplicationController
before_action :lookup_user, :only => :index
before_action :check_database_writable, :only => [:create, :hide, :unhide]
allow_thirdparty_images :only => :index
allow_thirdparty_images :only => [:index, :create]
def index
@title = t ".title", :user => @user.display_name