config/routes.rb in govuk_publishing_components-21.27.1 vs config/routes.rb in govuk_publishing_components-21.28.0
- old
+ new
@@ -1,7 +1,7 @@
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
+ 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