From 799cac123874b1eb71ca6a53107189e055180062 Mon Sep 17 00:00:00 2001 From: Mojca Lorber Date: Fri, 19 Aug 2016 13:55:34 +0200 Subject: [PATCH] fixes hound --- app/controllers/sample_groups_controller.rb | 2 +- app/controllers/sample_types_controller.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/sample_groups_controller.rb b/app/controllers/sample_groups_controller.rb index 104d793f9..f3319ba48 100644 --- a/app/controllers/sample_groups_controller.rb +++ b/app/controllers/sample_groups_controller.rb @@ -21,7 +21,7 @@ class SampleGroupsController < ApplicationController render json: { id: @sample_group.id, flash: t( - "sample_groups.create.success_flash", + 'sample_groups.create.success_flash', sample_group: @sample_group.name, organization: @organization.name ) diff --git a/app/controllers/sample_types_controller.rb b/app/controllers/sample_types_controller.rb index d4ee5a7e5..feea3ec98 100644 --- a/app/controllers/sample_types_controller.rb +++ b/app/controllers/sample_types_controller.rb @@ -26,7 +26,7 @@ class SampleTypesController < ApplicationController render json: { id: @sample_type.id, flash: t( - "sample_types.create.success_flash", + 'sample_types.create.success_flash', sample_type: @sample_type.name, organization: @organization.name )