categories added
This commit is contained in:
parent
3591a4c810
commit
f1154d6c37
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue