aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/workbenches_controller.rb
diff options
context:
space:
mode:
authorjpl2017-02-08 17:55:53 +0100
committerjpl2017-02-08 17:55:53 +0100
commitd43717db535e0e8999963e0f96004ae1f2cd459b (patch)
tree976ecc1854b5d0d21e6b61b796a1fe86825940f1 /app/controllers/workbenches_controller.rb
parent2cfafe1c03e9ca1b18e16333d54b91d6e05922a3 (diff)
downloadchouette-core-d43717db535e0e8999963e0f96004ae1f2cd459b.tar.bz2
Refs #2518: updating workbenches#show filters, wired to tech feature
Diffstat (limited to 'app/controllers/workbenches_controller.rb')
-rw-r--r--app/controllers/workbenches_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
index 71e50d7c7..eb19da35c 100644
--- a/app/controllers/workbenches_controller.rb
+++ b/app/controllers/workbenches_controller.rb
@@ -5,6 +5,7 @@ class WorkbenchesController < BreadcrumbController
def show
scope = Workbench.find(params[:id])
scope = params[:show_all] ? scope.all_referentials : scope.referentials.ready
+ # scope = scope.referentials
@q = scope.ransack(params[:q])
@collection = @q.result(distinct: true)