Skip to content

Commit

Permalink
Fix url to be an empty string when all is true
Browse files Browse the repository at this point in the history
  • Loading branch information
Levia committed Jun 10, 2020
1 parent 068232d commit aac3781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/presenters/resources_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def resources

{
title: resources_page.label,
url: all ? false : resources_page.full_path,
url: all ? '' : resources_page.full_path,
cards: selected_cards.map do |page|
{
label: page.label,
Expand Down

0 comments on commit aac3781

Please sign in to comment.