Sha256: 1d89d7057623cac8442077814c8d6984d17c7ba4d14fc240b0e6d735d12dbad7
Contents?: true
Size: 485 Bytes
Versions: 23
Compression:
Stored size: 485 Bytes
Contents
Rails.application.routes.draw do match '/', via: :all, to: 'scrivito/cms_dispatch#index', as: :scrivito_root with_options via: :all, constraints: {id: /[0-9a-f]{16}/} do |proxy| proxy.match '(/)(*slug-):id', to: 'scrivito/cms_dispatch#index', as: :cms_id proxy.match ':id(/*slug)', to: 'scrivito/cms_dispatch#legacy', as: :cms_legacy_id end match '/*permalink', to: 'scrivito/cms_dispatch#index', as: :scrivito_permalink, format: false, via: :all end
Version data entries
23 entries across 23 versions & 1 rubygems