app/helpers/blacklight_ris_helper.rb
def ris_path(opts = {})
    if controller_name == "bookmarks"
      bookmarks_path(opts.merge(format: 'ris'))
    else
      solr_document_path(opts.merge(format: 'ris'))
    end
  end
# this helper is called from the Show view and Bookmarks view
this helper is called from the Show view and Bookmarks view
this helper is called from the Show view and Bookmarks view
def ris_path(opts = {})
    if controller_name == "bookmarks"
      bookmarks_path(opts.merge(format: 'ris'))
    else
      solr_document_path(opts.merge(format: 'ris'))
    end
  end
def ris_path ( opts = { } ) if controller_name == "bookmarks" bookmarks_path ( opts . merge ( format : 'ris' ) ) else solr_document_path ( opts . merge ( format : 'ris' ) ) end end
this helper is called from the Show view and Bookmarks view
this helper is called from the Show view and Bookmarks view
opts