Class: Xhive::Page

Inherits:
ActiveRecord::Base
  • Object
show all
Extended by:
FriendlyId
Includes:
Presentable
Defined in:
app/models/xhive/page.rb

Instance Method Summary collapse

Methods included from Presentable

included, #presenter, #presenter_class

Instance Method Details

#present_content(opts = {}) ⇒ Object



19
20
21
# File 'app/models/xhive/page.rb', line 19

def present_content(opts={})
  presenter.render_content(opts)
end

#present_title(opts = {}) ⇒ Object



23
24
25
# File 'app/models/xhive/page.rb', line 23

def present_title(opts={})
  presenter.render_title(opts)
end