Method: MarkdownRecord::ViewHelpers#url_for_markdown_record_html

Defined in:
app/helpers/markdown_record/view_helpers.rb

#url_for_markdown_record_html(model, download = false) ⇒ Object



34
35
36
37
38
# File 'app/helpers/markdown_record/view_helpers.rb', line 34

def url_for_markdown_record_html(model, download = false)
  path = path_to_markdown_record_html(model, download)

  "#{root_url}/#{path}"
end