diff options
| author | Luc Donnet | 2017-10-30 11:45:07 +0100 |
|---|---|---|
| committer | GitHub | 2017-10-30 11:45:07 +0100 |
| commit | cb7e16653eb1dcb71fb46c84d7c1f3ea8aafd69a (patch) | |
| tree | b9e3993c435c63517366c1ce11b9d3a9efa5b793 /app/controllers/workbenches_controller.rb | |
| parent | 76d1787b32e28e4dbb3664e2bad99366781fdcd2 (diff) | |
| parent | d68f820ee402cd94d9f5fd4405f49436c4847c4b (diff) | |
| download | chouette-core-cb7e16653eb1dcb71fb46c84d7c1f3ea8aafd69a.tar.bz2 | |
Merge pull request #104 from af83/4726-breadcrumb
4726 breadcrumb
Diffstat (limited to 'app/controllers/workbenches_controller.rb')
| -rw-r--r-- | app/controllers/workbenches_controller.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb index e271007d6..9b4f0d6c4 100644 --- a/app/controllers/workbenches_controller.rb +++ b/app/controllers/workbenches_controller.rb @@ -1,4 +1,4 @@ -class WorkbenchesController < BreadcrumbController +class WorkbenchesController < InheritedResources::Base before_action :query_params, only: [:show] include RansackDateFilter before_action only: [:show] { set_date_time_params("validity_period", Date) } @@ -25,9 +25,7 @@ class WorkbenchesController < BreadcrumbController current_workbench_id: params[:id] } ) - show! do - build_breadcrumb :show - end + show! end def delete_referentials |
