Module: RecoursiveHelper
- Defined in:
- app/helpers/recoursive_helper.rb
Overview
A collection of helper methods used for navigation link in the admin-only section
Instance Method Summary collapse
Instance Method Details
#column(header:, **options, &block) ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/helpers/recoursive_helper.rb', line 3 def column(header:, **, &block) if @recourse_headers tag.th header, **.merge(scope: :col) else tag.td **, &block end end |