Class: Georgia::Slide
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- Georgia::Slide
- Includes:
- Concerns::Contentable, Concerns::Orderable
- Defined in:
- app/models/georgia/slide.rb
Instance Method Summary collapse
-
#page ⇒ Object
Returns a page if revision is a ‘current_revision` for a Georgia::Page.
Instance Method Details
#page ⇒ Object
Returns a page if revision is a ‘current_revision` for a Georgia::Page
13 14 15 |
# File 'app/models/georgia/slide.rb', line 13 def page @page ||= revision.try(:page) end |