Commit 19e758b0468c5634bbc50131f751826aff9c67f4
1 parent
d74efaa9
Exists in
colab
and in
4 other branches
Remove unnecessary translation call in configurations controller
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/kalibro_configurations_controller.rb
... | ... | @@ -79,7 +79,7 @@ class KalibroConfigurationsController < ApplicationController |
79 | 79 | if @kalibro_configuration.save |
80 | 80 | current_user.kalibro_configuration_ownerships.create kalibro_configuration_id: @kalibro_configuration.id |
81 | 81 | |
82 | - format.html { redirect_to kalibro_configuration_path(@kalibro_configuration.id), notice: t('successfully_created', :record => t(@kalibro_configuration.model_name.human)) } | |
82 | + format.html { redirect_to kalibro_configuration_path(@kalibro_configuration.id), notice: t('successfully_created', :record => @kalibro_configuration.model_name.human) } | |
83 | 83 | format.json { render action: 'show', status: :created, location: @kalibro_configuration } |
84 | 84 | else |
85 | 85 | format.html { render action: 'new' } | ... | ... |