Sha256: 3e62e31ebde3494cfad42816c09f95adfe32404b65e38b2c9d315d5fb4b7d387

Contents?: true

Size: 432 Bytes

Versions: 97

Compression:

Stored size: 432 Bytes

Contents

GovukPublishingComponents::Engine.routes.draw do
  root :to => 'component_guide#index', as: :component_guide
  get ':component/preview' => 'component_guide#preview', as: :component_preview_all
  get ':component/:example/preview' => 'component_guide#preview', as: :component_preview
  get ':component' => 'component_guide#show', as: :component_doc
  get ':component/:example' => 'component_guide#example', as: :component_example
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
govuk_publishing_components-5.2.2 config/routes.rb
govuk_publishing_components-5.2.1 config/routes.rb
govuk_publishing_components-5.2.0 config/routes.rb
govuk_publishing_components-5.1.3 config/routes.rb
govuk_publishing_components-5.1.2 config/routes.rb
govuk_publishing_components-5.1.1 config/routes.rb
govuk_publishing_components-5.1.0 config/routes.rb
govuk_publishing_components-5.0.0 config/routes.rb
govuk_publishing_components-4.1.1 config/routes.rb
govuk_publishing_components-4.1.0 config/routes.rb
govuk_publishing_components-4.0.0 config/routes.rb
govuk_publishing_components-3.3.0 config/routes.rb
govuk_publishing_components-3.2.1 config/routes.rb
govuk_publishing_components-3.2.0 config/routes.rb
govuk_publishing_components-3.1.0 config/routes.rb
govuk_publishing_components-3.0.3 config/routes.rb
govuk_publishing_components-3.0.2 config/routes.rb
govuk_publishing_components-3.0.1 config/routes.rb
govuk_publishing_components-3.0.0 config/routes.rb
govuk_publishing_components-2.0.0 config/routes.rb