Module: AuthorsHelper
- Defined in:
- app/helpers/authors_helper.rb
Instance Method Summary collapse
Instance Method Details
#attribution_caption(guide) ⇒ Object
3 4 5 6 7 8 9 |
# File 'app/helpers/authors_helper.rb', line 3 def (guide) if guide.collaborators.present? t(:authoring_note_with_collaborators_html, authors: guide., collaborators: "https://raw.githubusercontent.com/#{guide.slug}/master/COLLABORATORS.txt") else t(:authoring_note_html, authors: guide.) end end |