small fix for uninstall list

This commit is contained in:
Harry Bomrah 2016-07-13 15:08:37 +08:00
parent eef7fc03b0
commit 172b1332dd
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ 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
slwm = site_list_with_module(rm, true) slwm = site_list_with_module(rm, nil)
@registered_sites = slwm.first @registered_sites = slwm.first
@times = slwm.last @times = slwm.last
render :layout => false render :layout => false