Sha256: f0d5a2c207a58e869973008c32409fc4834be1b75ce7d31364ac277bb2077541

Contents?: true

Size: 238 Bytes

Versions: 5

Compression:

Stored size: 238 Bytes

Contents

Mascot.configuration.parent_engine.routes.draw do
  if Mascot.configuration.routes
    constraints Mascot::RouteConstraint.new do
      get "*path", controller: "mascot/sitemap", action: "show", as: :page, format: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mascot-rails-0.1.8 config/routes.rb
mascot-rails-0.1.7 config/routes.rb
mascot-rails-0.1.6 config/routes.rb
mascot-rails-0.1.5 config/routes.rb
mascot-rails-0.1.4 config/routes.rb