Class: Crm::BasePresenter

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

Defined Under Namespace

Classes: Router

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.



12
13
14
15
# File 'app/presenters/crm/base_presenter.rb', line 12

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