Class: Cathode::IndexAction

Inherits:
Action
  • Object
show all
Defined in:
lib/cathode/action.rb

Instance Attribute Summary

Attributes inherited from Action

#action_access_filter, #name, #resource

Instance Method Summary collapse

Methods inherited from Action

create, #initialize, #perform

Constructor Details

This class inherits a constructor from Cathode::Action

Instance Method Details

#perform_action(params) ⇒ Object



52
53
54
# File 'lib/cathode/action.rb', line 52

def perform_action(params)
  model.all
end