diff options
| author | Teddy Wing | 2017-12-18 13:42:57 +0100 |
|---|---|---|
| committer | Zog | 2017-12-19 13:21:49 +0100 |
| commit | 75f583ab29ebc29ad6b51f02f93b02c193e1a601 (patch) | |
| tree | f0200e4cf97e62febe602ba2101a32206790d8f6 | |
| parent | cdfd4e184be3cb84400bb26b313d92384332123b (diff) | |
| download | chouette-core-75f583ab29ebc29ad6b51f02f93b02c193e1a601.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
| -rw-r--r-- | app/controllers/referentials_controller.rb | 2 |
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 |
