Sha256: 6e1ffa87ad82c33dca4ee981f992f9ef00d2774ae139c5560c5f9989e2b23799

Contents?: true

Size: 437 Bytes

Versions: 48

Compression:

Stored size: 437 Bytes

Contents

module Hyrax
  # Renders the Help page, terms of use, messages about exporting to Zotero and Mendeley
  class StaticController < ApplicationController
    layout 'homepage'

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

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

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/controllers/hyrax/static_controller.rb
hyrax-2.9.5 app/controllers/hyrax/static_controller.rb
hyrax-2.9.4 app/controllers/hyrax/static_controller.rb
hyrax-2.9.3 app/controllers/hyrax/static_controller.rb
hyrax-2.9.2 app/controllers/hyrax/static_controller.rb
hyrax-2.9.1 app/controllers/hyrax/static_controller.rb
hyrax-2.9.0 app/controllers/hyrax/static_controller.rb
hyrax-2.8.0 app/controllers/hyrax/static_controller.rb
hyrax-2.7.2 app/controllers/hyrax/static_controller.rb
hyrax-2.7.1 app/controllers/hyrax/static_controller.rb
hyrax-2.7.0 app/controllers/hyrax/static_controller.rb
hyrax-2.6.0 app/controllers/hyrax/static_controller.rb
hyrax-3.0.0.pre.rc1 app/controllers/hyrax/static_controller.rb
hyrax-3.0.0.pre.beta3 app/controllers/hyrax/static_controller.rb
hyrax-2.5.1 app/controllers/hyrax/static_controller.rb
hyrax-2.5.0 app/controllers/hyrax/static_controller.rb
hyrax-3.0.0.pre.beta2 app/controllers/hyrax/static_controller.rb
hyrax-2.4.1 app/controllers/hyrax/static_controller.rb
hyrax-3.0.0.pre.beta1 app/controllers/hyrax/static_controller.rb
hyrax-2.4.0 app/controllers/hyrax/static_controller.rb