Skip to content

Commit 9ee62d0

Browse files
committed
Fix URL mapping for CaseStudy now it's migrated to StandardEdition
When we bulk update the organisations that are tagged to a given CSV of documents, we use this BasePathHelper to help with looking up the Edition based on the document's URL. It saves the publisher from having to provide the document types ahead of time. CaseStudy was recently moved to StandardEdition so its mapping needs updating accordingly.
1 parent 7eabff5 commit 9ee62d0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/helpers/admin/base_path_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
module Admin::BasePathHelper
44
MAPPINGS = [
55
{ "CallForEvidence" => "/government/calls-for-evidence" },
6-
{ "CaseStudy" => "/government/case-studies" },
6+
{ "StandardEdition" => "/government/case-studies" },
77
{ "Consultation" => "/government/consultations" },
88
{ "DetailedGuide" => "/guidance" },
99
{ "DocumentCollection" => "/government/collections" },

0 commit comments

Comments
 (0)