Skip to content

Commit

Permalink
Fix syntax on context param
Browse files Browse the repository at this point in the history
  • Loading branch information
maxgds committed Aug 24, 2021
1 parent 26aa3b8 commit 3616b2f
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 3616b2f

Please sign in to comment.