Sha256: 0e639c39e2345086efb3e1b5d1099c8ce47e6bd70330d8f2f2a0ad31a2532823
Contents?: true
Size: 340 Bytes
Versions: 1
Compression:
Stored size: 340 Bytes
Contents
module BlacklightOaiProvider module Routes extend ActiveSupport::Concern included do |klass| klass.default_route_sets.insert(klass.default_route_sets.index(:catalog), :oai_routing) end def oai_routing add_routes do get "catalog/oai", to: "catalog#oai", as: 'oai_provider' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blacklight_oai_provider-4.1.0 | lib/blacklight_oai_provider/routes.rb |