10 lines
285 B
Ruby
10 lines
285 B
Ruby
|
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
|