Skip to content

Commit

Permalink
link_toの書き方を他と統一(カッコを削除)
Browse files Browse the repository at this point in the history
  • Loading branch information
西龍彦 authored and 西龍彦 committed Apr 23, 2024
1 parent 6006dad commit dd6d44d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/external_entries/_external_entry.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
.card-list-item__row
.card-list-item-title
h2.card-list-item-title__title
= link_to(external_entry.title, external_entry.url, rel: 'noopener', target: '_blank', class: 'card-list-item-title__link a-text-link')
= link_to external_entry.title, external_entry.url, rel: 'noopener', target: '_blank', class: 'card-list-item-title__link a-text-link'
.card-list-item__row
.card-list-item__summary
p
Expand All @@ -18,5 +18,5 @@
time.a-meta
= l(external_entry.published_at)
.card-list-item__thumbnail
= link_to(external_entry.url, class: 'card-list-item__thumbnail-inner', target: '_blank', rel: 'noopener') do
= link_to external_entry.url, class: 'card-list-item__thumbnail-inner', target: '_blank', rel: 'noopener' do
= image_tag(external_entry.thumbnail_url, class: 'card-list-item__thumbnail-image')

0 comments on commit dd6d44d

Please sign in to comment.