mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-02-26 16:53:12 +08:00
Fix according to Houndbot
This commit is contained in:
parent
7877d559a3
commit
869967361c
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
class TeamsController < ApplicationController
|
||||
before_action :load_vars, only: [:parse_sheet, :import_samples, :export_samples
|
||||
:export_all]
|
||||
before_action :load_vars, only: [:parse_sheet, :import_samples,
|
||||
:export_samples, :export_all]
|
||||
|
||||
before_action :check_create_samples_permissions, only: %i(parse_sheet
|
||||
import_samples)
|
||||
|
|
|
@ -10,9 +10,9 @@ class AppMailer < Devise::Mailer
|
|||
@notification = notification
|
||||
subject =
|
||||
if notification.deliver?
|
||||
subject = I18n.t('notifications.deliver.email_subject')
|
||||
I18n.t('notifications.deliver.email_subject')
|
||||
else
|
||||
subject = I18n.t('notifications.email_title')
|
||||
I18n.t('notifications.email_title')
|
||||
end
|
||||
headers = {
|
||||
to: @user.email,
|
||||
|
|
Loading…
Reference in a new issue