Class: Crm::BasePresenter
- Inherits:
-
BasePresenter
- Object
- SimpleDelegator
- BasePresenter
- Crm::BasePresenter
- Defined in:
- app/presenters/crm/base_presenter.rb
Direct Known Subclasses
BreadcrumbPresenter, EmployeeGoalPresenter, EmployeeReviewPresenter, FloorPlanDisplayPresenter, ImagePresenter, ProductLinePresenter, PublicationPresenter, RenderedProductSpecificationPresenter, WarehousePresenter
Defined Under Namespace
Classes: Router
Instance Attribute Summary
Attributes inherited from BasePresenter
#current_account, #options, #url_helper
Instance Method Summary collapse
-
#initialize(model, view = nil, options = nil) ⇒ BasePresenter
constructor
A new instance of BasePresenter.
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, = nil) @url_helper = Router.new super end |