Skip to content

Commit

Permalink
Update home page statutory instruments link
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrayner committed Oct 24, 2018
1 parent c5b230c commit 5ed4daf
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
10 changes: 6 additions & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,14 @@ GEM
msgpack (~> 1.0)
builder (3.2.3)
byebug (10.0.2)
capybara (3.9.0)
capybara (3.10.0)
addressable
mini_mime (>= 0.1.3)
nokogiri (~> 1.8)
rack (>= 1.6.0)
rack-test (>= 0.6.3)
xpath (~> 3.1)
regexp_parser (~> 1.2)
xpath (~> 3.2)
concurrent-ruby (1.0.5)
coveralls (0.8.22)
json (>= 1.8, < 3)
Expand Down Expand Up @@ -128,7 +129,7 @@ GEM
parliament-opensearch (0.7.0)
activesupport (>= 5.0.0.1)
feedjira (~> 2.1, >= 2.1.2)
parliament-routes (0.6.15)
parliament-routes (0.6.17)
parliament-ruby (0.10.2)
parser (2.5.1.2)
ast (~> 2.4.0)
Expand Down Expand Up @@ -178,6 +179,7 @@ GEM
link_header (~> 0.0, >= 0.0.8)
rdf-vocab (2.2.9)
rdf (>= 2.2, < 4.0)
regexp_parser (1.2.0)
rspec-core (3.8.0)
rspec-support (~> 3.8.0)
rspec-expectations (3.8.2)
Expand All @@ -186,7 +188,7 @@ GEM
rspec-mocks (3.8.0)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.8.0)
rspec-rails (3.8.0)
rspec-rails (3.8.1)
actionpack (>= 3.0)
activesupport (>= 3.0)
railties (>= 3.0)
Expand Down
2 changes: 1 addition & 1 deletion app/serializers/page_serializer/home_page_serializer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def section_components
content << heading_serializer(translation_key: 'home.mps-and-lords.heading')
content << list_serializer(components: mps_lords_list_components)
content << heading_serializer(translation_key: 'home.parliament-activity.heading')
content << list_serializer(components: [card(heading_content: 'home.parliament-activity.statutory-instruments.heading', heading_link: statutory_instruments_path, paragraph_content: 'home.parliament-activity.statutory-instruments.find')])
content << list_serializer(components: [card(heading_content: 'home.parliament-activity.statutory-instruments.heading', heading_link: find_a_statutory_instrument_path, paragraph_content: 'home.parliament-activity.statutory-instruments.find')])
content << heading_serializer(translation_key: 'home.guides.heading')
content << list_serializer(components: [card(heading_content: 'home.guides.guide-to-procedure.heading', heading_link: collection_path('6i8XQAfD'), paragraph_content: 'home.guides.guide-to-procedure.find')])
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ main-components:
content:
- home.parliament-activity.statutory-instruments.heading
size: 3
link: "/statutory-instruments"
link: "/find-a-statutory-instrument"
paragraph:
name: paragraph
data:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ main-components:
content:
- home.parliament-activity.statutory-instruments.heading
size: 3
link: "/statutory-instruments"
link: "/find-a-statutory-instrument"
paragraph:
name: paragraph
data:
Expand Down

0 comments on commit 5ed4daf

Please sign in to comment.