Class: Hyrax::StaticController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/hyrax/static_controller.rb

Overview

Renders the Help page, terms of use, messages about exporting to Zotero and Mendeley

Instance Method Summary collapse

Instance Method Details

#mendeleyObject



13
14
15
16
17
18
# File 'app/controllers/hyrax/static_controller.rb', line 13

def mendeley
  respond_to do |format|
    format.html
    format.js { render layout: false }
  end
end

#zoteroObject



6
7
8
9
10
11
# File 'app/controllers/hyrax/static_controller.rb', line 6

def zotero
  respond_to do |format|
    format.html
    format.js { render layout: false }
  end
end