aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/referentials_controller.rb
diff options
context:
space:
mode:
authorTeddy Wing2017-12-18 13:42:57 +0100
committerTeddy Wing2017-12-18 13:42:57 +0100
commit5ecfe32c539527017ab03b96b4a14b1daccac54c (patch)
tree7b8e52ebf9a5ab4a7d288bdff8fdbf5c1bb2fc21 /app/controllers/referentials_controller.rb
parentdfd3f9ecb78974c4fe90a24c0e779bef87c38e09 (diff)
downloadchouette-core-5ecfe32c539527017ab03b96b4a14b1daccac54c.tar.bz2
Referentials#validate: Remove `I18n.` prefix
Call `#t` directly since we can and because the rest of the controller does this without the `I18n.` prefix. Refs #5317
Diffstat (limited to 'app/controllers/referentials_controller.rb')
-rw-r--r--app/controllers/referentials_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/referentials_controller.rb b/app/controllers/referentials_controller.rb
index f97e2c211..773de04fd 100644
--- a/app/controllers/referentials_controller.rb
+++ b/app/controllers/referentials_controller.rb
@@ -60,7 +60,7 @@ class ReferentialsController < ChouetteController
def validate
ComplianceControlSetCopyWorker.perform_async(params[:compliance_control_set], params[:id])
- flash[:notice] = I18n.t('notice.referentials.validate')
+ flash[:notice] = t('notice.referentials.validate')
redirect_to(referential_path)
end