Sha256: 4e4d5db76f46ee221fa029bedcd68de1beaac85dfa183d405e49afde4ae8af63

Contents?: true

Size: 244 Bytes

Versions: 5

Compression:

Stored size: 244 Bytes

Contents

Mascot.configuration.parent_engine.routes.draw do
  if Mascot.configuration.routes
    constraints Mascot::RouteConstraint.new do
      get "*resource_path", controller: "mascot/site", 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.16 config/routes.rb
mascot-rails-0.1.15 config/routes.rb
mascot-rails-0.1.14 config/routes.rb
mascot-rails-0.1.12 config/routes.rb
mascot-rails-0.1.11 config/routes.rb