From 869967361cf2cfe76784e34c0b1aedaf2df9ec87 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Sun, 23 Sep 2018 18:48:44 +0200 Subject: [PATCH] Fix according to Houndbot --- app/controllers/teams_controller.rb | 4 ++-- app/mailers/app_mailer.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/controllers/teams_controller.rb b/app/controllers/teams_controller.rb index 3fc3d4c90..8a976f1eb 100644 --- a/app/controllers/teams_controller.rb +++ b/app/controllers/teams_controller.rb @@ -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) diff --git a/app/mailers/app_mailer.rb b/app/mailers/app_mailer.rb index 6ae4b1f43..95bf02081 100644 --- a/app/mailers/app_mailer.rb +++ b/app/mailers/app_mailer.rb @@ -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,