Sha256: 922881eb13b20f74eae5623eba291bef95b72146ceafb0aef0bbe5b64fa66f55

Contents?: true

Size: 467 Bytes

Versions: 26

Compression:

Stored size: 467 Bytes

Contents

# frozen_string_literal: true
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

26 entries across 26 versions & 1 rubygems

Version Path
hyrax-5.0.2 app/controllers/hyrax/static_controller.rb
hyrax-5.0.1 app/controllers/hyrax/static_controller.rb
hyrax-5.0.0 app/controllers/hyrax/static_controller.rb
hyrax-5.0.0.rc3 app/controllers/hyrax/static_controller.rb
hyrax-5.0.0.rc2 app/controllers/hyrax/static_controller.rb
hyrax-5.0.0.rc1 app/controllers/hyrax/static_controller.rb
hyrax-3.6.0 app/controllers/hyrax/static_controller.rb
hyrax-4.0.0 app/controllers/hyrax/static_controller.rb
hyrax-4.0.0.rc3 app/controllers/hyrax/static_controller.rb
hyrax-4.0.0.rc2 app/controllers/hyrax/static_controller.rb
hyrax-4.0.0.rc1 app/controllers/hyrax/static_controller.rb
hyrax-3.5.0 app/controllers/hyrax/static_controller.rb
hyrax-4.0.0.beta2 app/controllers/hyrax/static_controller.rb
hyrax-3.4.2 app/controllers/hyrax/static_controller.rb
hyrax-4.0.0.beta1 app/controllers/hyrax/static_controller.rb
hyrax-3.4.1 app/controllers/hyrax/static_controller.rb
hyrax-3.4.0 app/controllers/hyrax/static_controller.rb
hyrax-3.3.0 app/controllers/hyrax/static_controller.rb
hyrax-3.2.0 app/controllers/hyrax/static_controller.rb
hyrax-3.1.0 app/controllers/hyrax/static_controller.rb