aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert2017-06-28 17:19:50 +0200
committerRobert2017-06-28 17:19:50 +0200
commitb260c832c8e129dbeacfe065d01bd0732dd80701 (patch)
tree605e527924e5278dd64e99e725bec288e51a1684
parent3b0c79da928859988b6da5a8358a0b953c334ca9 (diff)
downloadchouette-core-b260c832c8e129dbeacfe065d01bd0732dd80701.tar.bz2
Hotfix fixes: #3793@1h
-rw-r--r--app/controllers/workbenches_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/workbenches_controller.rb b/app/controllers/workbenches_controller.rb
index 83762d83f..d03841356 100644
--- a/app/controllers/workbenches_controller.rb
+++ b/app/controllers/workbenches_controller.rb
@@ -40,7 +40,7 @@ class WorkbenchesController < BreadcrumbController
private
def resource
- @workbench = Workbench.find params[:id]
+ @workbench = current_organisation.workbenches.find params[:id]
end
def sort_result collection