Fix according to Houndbot

This commit is contained in:
Jure Grabnar 2018-09-23 18:48:44 +02:00
parent 7877d559a3
commit 869967361c
2 changed files with 4 additions and 4 deletions

View file

@ -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)

View file

@ -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,