Skip to content

Commit

Permalink
Merge pull request #1589 from alphagov/component-guide
Browse files Browse the repository at this point in the history
Scope /component-guide to development and test
  • Loading branch information
AgaDufrat authored Oct 28, 2024
2 parents 047e033 + 4436385 commit 9bd4000
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
get "/content", to: "content#index"
get "/content/export_csv", to: "content#export_csv"
get "/documents/:document_id/children", to: "documents#children", format: false
mount GovukPublishingComponents::Engine, at: "/component-guide"
mount GovukPublishingComponents::Engine, at: "/component-guide" unless Rails.env.production?
end

0 comments on commit 9bd4000

Please sign in to comment.