|
class RegisterModulesController < ApplicationController
|
|
def index
|
|
@data = {}
|
|
ma = ModuleApp.where(:key => "register_module").first
|
|
@data["tags"] = ma.tags
|
|
@data["categories"] = ma.categories.enabled
|
|
@data["apps"] = RegisteredModule.can_display
|
|
@data
|
|
end
|
|
end |