Sha256: c9db615ad1552f07e734723a74b08522b2705ce7f70e116697a48e612aab7cac
Contents?: true
Size: 742 Bytes
Versions: 13
Compression:
Stored size: 742 Bytes
Contents
Rails.application.routes.draw do get '/' => 'scrivito/cms_dispatch#index', as: :scrivito_root get '__scrivito/render_widget/:id/show_widget/:widget_id' => 'scrivito/cms_dispatch#show_widget' get '__scrivito/render_widget/:id/widget_details/:widget_id' => 'scrivito/cms_dispatch#widget_details' get '__scrivito/page_details/:id' => 'scrivito/cms_dispatch#page_details' get '/__scrivito/resource_details/:resource_id' => 'scrivito/cms_dispatch#resource_details' match ':id(/*slug)', to: 'scrivito/cms_dispatch#index', constraints: { id: /\d+|[0-9a-f]{16}/ }, as: 'cms_id', via: :all match '/*permalink', to: 'scrivito/cms_dispatch#index', as: :scrivito_permalink, format: false, via: :all end
Version data entries
13 entries across 13 versions & 1 rubygems