fix public logo url
This commit is contained in:
parent
fe78522f37
commit
5e5111d69b
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ class ProceduresController < ApplicationController
|
|||
if @procedure.logo.attached?
|
||||
redirect_to url_for(@procedure.logo.variant(:email))
|
||||
else
|
||||
redirect_to image_url(PROCEDURE_DEFAULT_LOGO_SRC)
|
||||
redirect_to ActionController::Base.helpers.image_url(PROCEDURE_DEFAULT_LOGO_SRC)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue