Skip to content

Commit

Permalink
Merge pull request #2210 from alphagov/fix-context
Browse files Browse the repository at this point in the history
Fix syntax on context param
  • Loading branch information
maxgds authored Aug 24, 2021
2 parents 26aa3b8 + 3616b2f commit 2ffc7ec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions app/views/histories/10_downing_street.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
},
context: "History",
title: "10 Downing Street",
} %>
</div>
Expand Down
4 changes: 1 addition & 3 deletions app/views/histories/11_downing_street.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
},
context: "History",
title: "11 Downing Street",
} %>
</div>
Expand Down
4 changes: 1 addition & 3 deletions app/views/histories/1_horse_guards_road.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
},
context: "History",
title: "1 Horse Guards Road",
} %>
</div>
Expand Down
4 changes: 1 addition & 3 deletions app/views/histories/king_charles_street.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
},
context: "History",
title: "King Charles Street",
} %>
</div>
Expand Down
4 changes: 1 addition & 3 deletions app/views/histories/lancaster_house.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@
]
} %>
<%= render "govuk_publishing_components/components/title", {
context: {
text: "History",
},
context:"History",
title: "Lancaster House",
} %>
</div>
Expand Down

0 comments on commit 2ffc7ec

Please sign in to comment.