Sha256: 92c54ea236a2e273efb237cd162657b72194572e6018691bccb2bfcf0e76aaa1

Contents?: true

Size: 197 Bytes

Versions: 28

Compression:

Stored size: 197 Bytes

Contents

# frozen_string_literal: true

module EngineRoutes
  def self.included(base)
    base.routes { Hyrax::Engine.routes }
  end

  def main_app
    Rails.application.class.routes.url_helpers
  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.4 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.3 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.2 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.1 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.0 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.0.rc3 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.0.rc2 lib/hyrax/specs/engine_routes.rb
hyrax-5.0.0.rc1 lib/hyrax/specs/engine_routes.rb
hyrax-3.6.0 lib/hyrax/specs/engine_routes.rb
hyrax-4.0.0 lib/hyrax/specs/engine_routes.rb
hyrax-4.0.0.rc3 lib/hyrax/specs/engine_routes.rb
hyrax-4.0.0.rc2 lib/hyrax/specs/engine_routes.rb
hyrax-4.0.0.rc1 lib/hyrax/specs/engine_routes.rb
hyrax-3.5.0 lib/hyrax/specs/engine_routes.rb
hyrax-4.0.0.beta2 lib/hyrax/specs/engine_routes.rb
hyrax-3.4.2 lib/hyrax/specs/engine_routes.rb
hyrax-4.0.0.beta1 lib/hyrax/specs/engine_routes.rb
hyrax-3.4.1 lib/hyrax/specs/engine_routes.rb
hyrax-3.4.0 lib/hyrax/specs/engine_routes.rb