Module: Outpost::Controller

Extended by:
ActiveSupport::Autoload, ActiveSupport::Concern
Defined in:
lib/outpost/controller.rb,
lib/outpost/controller/actions.rb,
lib/outpost/controller/helpers.rb,
lib/outpost/controller/ordering.rb,
lib/outpost/controller/callbacks.rb,
lib/outpost/controller/filtering.rb,
lib/outpost/controller/preferences.rb,
lib/outpost/controller/authorization.rb,
lib/outpost/controller/custom_errors.rb,
lib/outpost/controller/authentication.rb

Defined Under Namespace

Modules: Actions, Authentication, Authorization, Callbacks, ClassMethods, CustomErrors, Filtering, Helpers, Ordering, Preferences

Instance Method Summary collapse

Instance Method Details

#fieldsObject

Public: Proxy to the controller’s fields.



34
35
36
# File 'lib/outpost/controller.rb', line 34

def fields
  self.class.fields
end

#listObject

Public: Proxy to the controller’s list.



29
30
31
# File 'lib/outpost/controller.rb', line 29

def list
  self.class.list
end

#modelObject

Public: Proxy to the controller’s model.



24
25
26
# File 'lib/outpost/controller.rb', line 24

def model
  self.class.model
end