Class: Lesli::SystemControllersController

Inherits:
ApplicationLesliController show all
Defined in:
app/controllers/lesli/system_controllers_controller.rb

Instance Attribute Summary

Attributes inherited from ApplicationController

#engine_path, #query

Instance Method Summary collapse

Methods included from CustomizationInterface

#set_customizer

Methods included from ResponderInterface

#respond_as_pagination, #respond_as_successful, #respond_with_action, #respond_with_error, #respond_with_http, #respond_with_not_found, #respond_with_pagination, #respond_with_successful, #respond_with_unauthorized

Methods included from RequesterInterface

#get_user_agent, #set_locale, #set_path, #set_requester

Methods inherited from ApplicationController

#initialize, #language

Constructor Details

This class inherits a constructor from Lesli::ApplicationController

Instance Method Details

#indexObject

GET /system_controllers



38
39
40
41
42
43
44
45
# File 'app/controllers/lesli/system_controllers_controller.rb', line 38

def index
    respond_to do |format|
        format.html {}
        format.json do
            respond_with_successful(Lesli::SystemController.index())
        end
    end
end

#optionsObject



47
48
49
50
51
52
53
54
# File 'app/controllers/lesli/system_controllers_controller.rb', line 47

def options 
    respond_to do |format|
        format.html {}
        format.json do
            respond_with_successful(SystemController.options(current_user, @query))
        end
    end
end