small fix for granting
This commit is contained in:
parent
6b6b1156a5
commit
eef7fc03b0
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue