aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcedricnjanga2018-03-04 19:32:18 -0800
committercedricnjanga2018-03-04 19:32:18 -0800
commit9e35385705733e38962b14070ab48eb02b538b18 (patch)
treea822bc99770ab8d563f8d04047bc497a41cf6333
parent100b2483196f5f7930e440bc2155389852099cbf (diff)
downloadchouette-core-9e35385705733e38962b14070ab48eb02b538b18.tar.bz2
Refs #3562 Small change in controller to match routes
-rw-r--r--app/controllers/workbenches_controller.rb2
-rw-r--r--config/locales/workbenches.fr.yml2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
index 126c27eb4..35438eaaf 100644
--- a/app/controllers/workbenches_controller.rb
+++ b/app/controllers/workbenches_controller.rb
@@ -6,7 +6,7 @@ class WorkbenchesController < ChouetteController
include PolicyChecker
- respond_to :html
+ respond_to :html, except: :destroy
def index
redirect_to dashboard_path
diff --git a/config/locales/workbenches.fr.yml b/config/locales/workbenches.fr.yml
index 858f624d6..acb242eaa 100644
--- a/config/locales/workbenches.fr.yml
+++ b/config/locales/workbenches.fr.yml
@@ -16,7 +16,7 @@ fr:
title: "Offre de transport"
organisation: "Offres de mon Organisation"
idf: "Offres IDF"
- referentials: "Jeux de donnée"
+ referentials: "Jeux de données"
calendars: "Calendriers"
see: "Voir la liste"
no_content: "Aucun contenu"