Skip to content

Commit a9613a3

Browse files
authored
Merge pull request #2211 from alphagov/dependabot/bundler/rubocop-govuk-5.1.5
Bump rubocop-govuk from 5.1.4 to 5.1.5
2 parents fcf8a11 + a114aea commit a9613a3

2 files changed

Lines changed: 11 additions & 10 deletions

File tree

Gemfile.lock

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -529,8 +529,8 @@ GEM
529529
opentelemetry-semantic_conventions (1.11.0)
530530
opentelemetry-api (~> 1.0)
531531
ostruct (0.6.1)
532-
parallel (1.26.3)
533-
parser (3.3.7.4)
532+
parallel (1.27.0)
533+
parser (3.3.8.0)
534534
ast (~> 2.4.1)
535535
racc
536536
pdf-reader (2.14.1)
@@ -651,7 +651,7 @@ GEM
651651
rspec-mocks (~> 3.13)
652652
rspec-support (~> 3.13)
653653
rspec-support (3.13.2)
654-
rubocop (1.75.2)
654+
rubocop (1.75.3)
655655
json (~> 2.3)
656656
language_server-protocol (~> 3.17.0.2)
657657
lint_roller (~> 1.1.0)
@@ -662,19 +662,19 @@ GEM
662662
rubocop-ast (>= 1.44.0, < 2.0)
663663
ruby-progressbar (~> 1.7)
664664
unicode-display_width (>= 2.4.0, < 4.0)
665-
rubocop-ast (1.44.0)
665+
rubocop-ast (1.44.1)
666666
parser (>= 3.3.7.2)
667667
prism (~> 1.4)
668668
rubocop-capybara (2.22.1)
669669
lint_roller (~> 1.1)
670670
rubocop (~> 1.72, >= 1.72.1)
671-
rubocop-govuk (5.1.4)
672-
rubocop (= 1.75.2)
673-
rubocop-ast (= 1.44.0)
671+
rubocop-govuk (5.1.5)
672+
rubocop (= 1.75.3)
673+
rubocop-ast (= 1.44.1)
674674
rubocop-capybara (= 2.22.1)
675675
rubocop-rails (= 2.31.0)
676676
rubocop-rake (= 0.7.1)
677-
rubocop-rspec (= 3.5.0)
677+
rubocop-rspec (= 3.6.0)
678678
rubocop-rails (2.31.0)
679679
activesupport (>= 4.2.0)
680680
lint_roller (~> 1.1)
@@ -684,7 +684,7 @@ GEM
684684
rubocop-rake (0.7.1)
685685
lint_roller (~> 1.1)
686686
rubocop (>= 1.72.1)
687-
rubocop-rspec (3.5.0)
687+
rubocop-rspec (3.6.0)
688688
lint_roller (~> 1.1)
689689
rubocop (~> 1.72, >= 1.72.1)
690690
ruby-progressbar (1.13.0)

app/helpers/application_helper.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
module ApplicationHelper
22
def edition_edit_link(edition)
3-
link_to((edition.draft? ? "edit" : "view details"), edit_admin_edition_path(edition), class: "govuk-link")
3+
link_content = edition.draft? ? "edit" : "view details"
4+
link_to(link_content, edit_admin_edition_path(edition), class: "govuk-link")
45
end
56

67
def preview_edition_link(edition, short, options = {})

0 commit comments

Comments
 (0)