summaryrefslogtreecommitdiff
path: root/app/controllers/gui_functions_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/gui_functions_controller.rb')
-rw-r--r--app/controllers/gui_functions_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/gui_functions_controller.rb b/app/controllers/gui_functions_controller.rb
index 0cb7898..4b57322 100644
--- a/app/controllers/gui_functions_controller.rb
+++ b/app/controllers/gui_functions_controller.rb
@@ -58,7 +58,7 @@ class GuiFunctionsController < ApplicationController
private
def load_user_groups
- @user_groups = Tenant.find(@current_user.current_tenant).user_groups.order(:position)
+ @user_groups = Tenant.find(current_user.current_tenant).user_groups.order(:position)
end
def spread_breadcrumbs