Module: PresentationsHelper

Extended by:
PresentationsHelper
Included in:
PresentationsHelper
Defined in:
app/helpers/presentations_helper.rb

Instance Method Summary collapse

Instance Method Details



8
9
10
11
# File 'app/helpers/presentations_helper.rb', line 8

def link_to_presentation(presentation)
  return "[Presentation not provided]" unless presentation.instance_of?(Presentation)
  "<a href='#{prjct_presentation_path(presentation.project, presentation)}' class='presentation-link'>#{presentation.title}</a>"
end


4
5
6
# File 'app/helpers/presentations_helper.rb', line 4

def link_to_presentation_macro_markup(presentation)
  "{{presentation_link(#{presentation.permalink})}}"
end