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


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

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

#zoteroObject


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

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