Class: Search::BudgetPresenter

Inherits:
BasePresenter show all
Defined in:
app/presenters/search/budget_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, #initialize, #link_to, #number_to_currency, #present, presents, #r, #safe_present, #simple_format, #u

Constructor Details

This class inherits a constructor from BasePresenter

Instance Method Details



5
6
7
# File 'app/presenters/search/budget_presenter.rb', line 5

def budget_link
  h.link_to(r.id, h.budget_path(r.id))
end