small fix for granting

This commit is contained in:
Harry Bomrah 2016-07-13 15:03:23 +08:00
parent 6b6b1156a5
commit eef7fc03b0
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ class Admin::AdminModulesController < OrbitAdminController
def grant_list def grant_list
rm = RegisteredModule.find(params[:id]) rescue nil 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 @registered_sites = slwm.first
@times = slwm.last @times = slwm.last
render :layout => false render :layout => false