Skip to content

Commit

Permalink
remove government/admin from block manager url
Browse files Browse the repository at this point in the history
this is not relevant to the Content Block Manager,
so we are just having the endpoint be
`/content-block-manager`.
  • Loading branch information
Harriethw committed Oct 10, 2024
1 parent 9650960 commit 8260e14
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 @@ -459,5 +459,5 @@ def redirect(path, options = { prefix: Whitehall.router_prefix })

mount GovukPublishingComponents::Engine, at: "/component-guide" unless Rails.env.production?

mount ContentBlockManager::Engine, at: "government/admin/content-block-manager", as: "content_block_manager"
mount ContentBlockManager::Engine, at: "content-block-manager", as: "content_block_manager"
end

0 comments on commit 8260e14

Please sign in to comment.