From b260c832c8e129dbeacfe065d01bd0732dd80701 Mon Sep 17 00:00:00 2001 From: Robert Date: Wed, 28 Jun 2017 17:19:50 +0200 Subject: Hotfix fixes: #3793@1h --- app/controllers/workbenches_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') 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 -- cgit v1.2.3