categories added

This commit is contained in:
Harry Bomrah 2017-03-08 14:35:11 +08:00
parent 3591a4c810
commit f1154d6c37
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ class ClientManagementsController < CPanelController
@newrequest = SiteRequest.new @newrequest = SiteRequest.new
@user_sites = current_cpanel_user.registered_sites.collect{|rs|[rs.title, rs.id.to_s]} @user_sites = current_cpanel_user.registered_sites.collect{|rs|[rs.title, rs.id.to_s]}
@user_sites << ["Create new site", "newsite"] @user_sites << ["Create new site", "newsite"]
@optional_modules = RegisteredModule.where(:category_id => "54ae569248345219fa080000", :approved => true) @optional_modules = RegisteredModule.where(:category_id.in => ["54ae569248345219fa080000","54abc1797470006ee0270000"], :approved => true)
end end
def requestsite def requestsite