allow default logo of a procedure to be configured in .env file
Refs: #5795
This commit is contained in:
parent
bb5f3a206e
commit
064ea776c7
3 changed files with 7 additions and 1 deletions
|
@ -568,7 +568,7 @@ class Procedure < ApplicationRecord
|
|||
if logo.attached?
|
||||
Rails.application.routes.url_helpers.url_for(logo)
|
||||
else
|
||||
ActionController::Base.helpers.image_url("republique-francaise-logo.svg")
|
||||
ActionController::Base.helpers.image_url(PROCEDURE_DEFAULT_LOGO_SRC)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue