Skip to content

Commit

Permalink
Merge pull request #7858 from fjordllc/feature/correct-title-tag-user…
Browse files Browse the repository at this point in the history
…-products-list-page

ユーザー個別ページの提出物一覧のtitelタグを修正
  • Loading branch information
komagata authored Jun 24, 2024
2 parents e6256fb + e6db33a commit 51c3011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/views/users/products/index.html.slim
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
- title "#{@user.login_name}の提出物一覧"
- title "#{@user.login_name}さんの提出物一覧"
- set_meta_tags description: "#{@user.login_name}さんの提出物一覧ページです。"

= render 'users/page_title', user: @user
Expand Down
2 changes: 1 addition & 1 deletion test/system/user/products_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
class User::ProductsTest < ApplicationSystemTestCase
test 'show listing products' do
visit_with_auth "/users/#{users(:hatsuno).id}/products", 'komagata'
assert_equal 'hatsunoの提出物一覧 | FBC', title
assert_equal 'hatsunoさんの提出物一覧 | FBC', title
end

test 'show self assigned products to mentor' do
Expand Down

0 comments on commit 51c3011

Please sign in to comment.