small fix
This commit is contained in:
parent
e384ecff3c
commit
9455e14ebf
|
@ -28,7 +28,9 @@ class Admin::AdminModulesController < OrbitAdminController
|
||||||
|
|
||||||
def uninstall_site_list
|
def uninstall_site_list
|
||||||
rm = RegisteredModule.find(params[:id]) rescue nil
|
rm = RegisteredModule.find(params[:id]) rescue nil
|
||||||
@registered_sites = site_list_with_module(rm)
|
slwm = site_list_with_module(rm, true)
|
||||||
|
@registered_sites = slwm.first
|
||||||
|
@times = slwm.last
|
||||||
render :layout => false
|
render :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -42,7 +44,9 @@ class Admin::AdminModulesController < OrbitAdminController
|
||||||
|
|
||||||
def grant_list
|
def grant_list
|
||||||
rm = RegisteredModule.find(params[:id]) rescue nil
|
rm = RegisteredModule.find(params[:id]) rescue nil
|
||||||
@registered_sites = site_list_with_module(rm, false)
|
slwm = site_list_with_module(rm, true)
|
||||||
|
@registered_sites = slwm.first
|
||||||
|
@times = slwm.last
|
||||||
render :layout => false
|
render :layout => false
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue