Skip to content

Commit 6be0465

Browse files
patrickpatrickpatrickTonyGDS
authored andcommitted
filtering editions
1 parent 714316c commit 6be0465

2 files changed

Lines changed: 3 additions & 4 deletions

File tree

app/controllers/admin/edition_featurings_controller.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ def index
88
.to_h
99
.merge(
1010
state: "published",
11-
topical_event: @edition.to_param,
1211
per_page: Admin::EditionFilter::GOVUK_DESIGN_SYSTEM_PER_PAGE,
1312
)
1413

app/views/admin/editions/show/_main.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,10 +208,10 @@
208208
} %>
209209

210210
<%= link_to("Add features",
211-
admin_standard_edition_topical_event_featurings_path(@edition.id),
212-
class: "govuk-link") %>
211+
admin_standard_edition_edition_featurings_path(@edition.id),
212+
class: "govuk-link") %>
213213

214-
</section>
214+
</section>
215215
<% end %>
216216

217217
<%= render Admin::Editions::Show::Translations.new(@edition) %>

0 commit comments

Comments
 (0)