Sha256: 4e545e1799f7e4896bad9863482b5c63218f81cf54bce5c343d9eb932b6d2cc7
Contents?: true
Size: 676 Bytes
Versions: 1
Compression:
Stored size: 676 Bytes
Contents
require 'hydra' module HydraHead require 'hydra-head/engine' if defined?(Rails) && Rails::VERSION::MAJOR == 3 require 'hydra-head/routes' # If you put this in your application's routes.rb, it will add the Hydra Head routes to the app. # The hydra:head generator puts this in routes.rb for you by default. # See {HydraHead::Routes} for information about how to modify which routes are generated. # @example # # in config/routes.rb # MyAppName::Application.routes.draw do # Blacklight.add_routes(self) # HydraHead.add_routes(self) # end def self.add_routes(router, options = {}) HydraHead::Routes.new(router, options).draw end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hydra-core-5.0.0.pre4 | lib/hydra-core.rb |