Skip to content

Commit

Permalink
Remove the start petition link from the footer when the site is closed
Browse files Browse the repository at this point in the history
  • Loading branch information
pixeltrix committed May 30, 2024
1 parent 36d682f commit b9d95f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/application/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ul id="footer_nav">
<li><%= link_to 'Home', home_path %></li>
<li><%= link_to 'All petitions', petitions_path %></li>
<% unless Site.disable_petition_creation? %>
<% unless Site.disable_petition_creation? || Parliament.closed? %>
<li><%= link_to 'Start a petition', check_petitions_path %></li>
<% end %>
<li><%= link_to 'How petitions work', help_path %></li>
Expand Down

0 comments on commit b9d95f1

Please sign in to comment.