[fix #675] upload notice in DS

This commit is contained in:
simon lehericey 2018-04-11 14:35:52 +02:00
parent d06b72fb80
commit 5667cfe747
7 changed files with 32 additions and 7 deletions

View file

@ -0,0 +1,9 @@
module NoticeUrlHelper
def notice_url(procedure)
if procedure.notice.attached?
url_for(procedure.notice)
elsif procedure.lien_notice.present?
procedure.lien_notice
end
end
end