Sha256: 377eaeba3bf308616f0915b8af4fb1afd65321f8390c9c06a958ce152176634c

Contents?: true

Size: 352 Bytes

Versions: 2

Compression:

Stored size: 352 Bytes

Contents

Rails.application.routes.draw do
  root :to => 'rails_connector/cms_dispatch#index'
  match ':id(/*slug)',
    :to => 'rails_connector/cms_dispatch#index',
    :constraints => { :id => /\d+|[0-9a-f]{16}/ },
    :as => "cms_id"
  match '/*permalink',
    :to => 'rails_connector/cms_dispatch#index',
    :as => 'cms_permalink',
    :format => false
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
infopark_cloud_connector-7.1.0 config/cms_routes.rb
infopark_cloud_connector-7.0.2 config/cms_routes.rb