Class: Search::PresetJobPresenter
- Inherits:
-
ServiceJobPresenter
- Object
- ServiceJobPresenter
- Search::PresetJobPresenter
- Defined in:
- app/presenters/search/preset_job_presenter.rb
Overview
Row presenter for PresetJobSearch — renders the cells in the CRM Smart PreSet
search/results table. Wraps a ViewServiceJob projection rather than a
fully-loaded PresetJob so the search grid stays light.
Direct Known Subclasses
Instance Method Summary collapse
-
#job_link ⇒ ActiveSupport::SafeBuffer
Linked preset job reference number → preset job show page.
Instance Method Details
#job_link ⇒ ActiveSupport::SafeBuffer
Linked preset job reference number → preset job show page.
10 11 12 |
# File 'app/presenters/search/preset_job_presenter.rb', line 10 def job_link h.link_to r.reference_number || 'Not Set Yet', h.preset_job_path(r) end |