Class: Page
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Page
- Includes:
- ActiveRecord::Transitions
- Defined in:
- app/models/page.rb
Instance Method Summary collapse
Instance Method Details
#available_events ⇒ Object
33 34 35 |
# File 'app/models/page.rb', line 33 def available_events Page.state_machines[:default].events_for(self.state.to_sym) end |