Permalink
Browse files

Fix overwriting prefix routes in the router.

Bumping govuk_content_models to 0.4.0 will persist the 'paths' and
'prefixes' fields, so we don't overwrite existing prefix routes with
their fixed namesakes.
  • Loading branch information...
1 parent 16dfcea commit 1640044525088b1aa6e979875f17e7f52ac1207d @fatbusinessman fatbusinessman committed Aug 7, 2012
Showing with 4 additions and 4 deletions.
  1. +1 −1 Gemfile
  2. +2 −2 Gemfile.lock
  3. +1 −1 app/models/enhancements/artefact.rb
View
@@ -33,7 +33,7 @@ gem 'lograge'
if ENV['CONTENT_MODELS_DEV']
gem "govuk_content_models", path: '../govuk_content_models'
else
- gem "govuk_content_models", "0.3.0"
+ gem "govuk_content_models", "0.4.0"
end
if ENV['BUNDLE_DEV']
View
@@ -117,7 +117,7 @@ GEM
json
gherkin (2.7.3)
json (>= 1.4.6)
- govuk_content_models (0.3.0)
+ govuk_content_models (0.4.0)
bson_ext
differ
gds-api-adapters
@@ -295,7 +295,7 @@ DEPENDENCIES
gds-sso (~> 1.2.0)
gds-warmup-controller (= 0.1.0)
gelf
- govuk_content_models (= 0.3.0)
+ govuk_content_models (= 0.4.0)
launchy
lograge
minitest
@@ -3,5 +3,5 @@
class Artefact
# Add a non-field attribute so we can pass indexable content over to Rummager
# without persisting it
- attr_accessor :indexable_content, :paths, :prefixes
+ attr_accessor :indexable_content
end

0 comments on commit 1640044

Please sign in to comment.