Class: Www::BasePresenter

Inherits:
BasePresenter show all
Defined in:
app/presenters/www/base_presenter.rb

Instance Attribute Summary

Attributes inherited from BasePresenter

#current_account, #options, #url_helper

Instance Method Summary collapse

Methods inherited from BasePresenter

#can?, #capture, #concat, #content_tag, #fa_icon, #h, #link_to, #number_to_currency, #present, presents, #r, #safe_present, #simple_format, #u

Constructor Details

#initialize(model, view = nil, options = nil) ⇒ BasePresenter

Returns a new instance of BasePresenter.



3
4
5
6
# File 'app/presenters/www/base_presenter.rb', line 3

def initialize(model, view = nil, options = nil)
  @url_helper = Www::Router.new
  super
end