From eef7fc03b03be7515d0867439920b26f683b8967 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Wed, 13 Jul 2016 15:03:23 +0800 Subject: [PATCH] small fix for granting --- app/controllers/admin/admin_modules_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/admin/admin_modules_controller.rb b/app/controllers/admin/admin_modules_controller.rb index c2fa950..80202df 100644 --- a/app/controllers/admin/admin_modules_controller.rb +++ b/app/controllers/admin/admin_modules_controller.rb @@ -44,7 +44,7 @@ class Admin::AdminModulesController < OrbitAdminController def grant_list rm = RegisteredModule.find(params[:id]) rescue nil - slwm = site_list_with_module(rm, nil) + slwm = site_list_with_module(rm, false) @registered_sites = slwm.first @times = slwm.last render :layout => false