Skip to content

Commit

Permalink
提出物のタイトル表記を再度修正
Browse files Browse the repository at this point in the history
  • Loading branch information
ham-cap committed May 23, 2024
1 parent 89f9909 commit 0e17e84
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/models/concerns/commentable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module Commentable
def title
case self
when Product
"#{practice[:title]}の提出物"
"#{practice[:title]}の提出物"
else
self[:title]
end
Expand Down
2 changes: 1 addition & 1 deletion app/views/companies/products/_product.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| WIP
h2.card-list-item-title__title
= link_to product, class: 'card-list-item-title__link a-text-link js-unconfirmed-link' do
= product.title.to_s
| #{product.practice.title}の提出物
.card-list-item__row
.card-list-item-meta
.card-list-item-meta__items
Expand Down

0 comments on commit 0e17e84

Please sign in to comment.