A keying mistake
This commit is contained in:
parent
e8b8be54c7
commit
d4d5e78fd8
@ -55,7 +55,7 @@ class DmsfMailer < Mailer
|
||||
redmine_headers 'Project' => project.identifier if project
|
||||
@body = email_params[:body]
|
||||
@links_only = email_params[:links_only] == '1'
|
||||
@public_url = email_params[:public_urls] == '1'
|
||||
@public_urls = email_params[:public_urls] == '1'
|
||||
@expired_at = email_params[:expired_at]
|
||||
@folders = email_params[:folders]
|
||||
@files = email_params[:files]
|
||||
|
||||
@ -65,7 +65,7 @@
|
||||
<% JSON.parse(@files).each do |id| %>
|
||||
<% file = DmsfFile.find_by_id id %>
|
||||
<% if file && !files.include?(file) %>
|
||||
<% if @public_url %>
|
||||
<% if @public_urls %>
|
||||
<% dmsf_public_url = DmsfPublicUrl.new %>
|
||||
<% dmsf_public_url.dmsf_file = file %>
|
||||
<% dmsf_public_url.user = User.current %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user