Skip to content

Commit

Permalink
Merge pull request #7831 from fjordllc/feature/correct-text-in-title-…
Browse files Browse the repository at this point in the history
…tag-of-portfolio-page

ポートフォリオページのtitleタグ内のユーザー名に'さん'をつけるように修正
  • Loading branch information
komagata authored Jun 23, 2024
2 parents 731f4ae + 3e47283 commit 19fe7f4
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/works/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}さんのポートフォリオページです。"

header.page-header
Expand Down
2 changes: 1 addition & 1 deletion test/system/user/works_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
class User::WorksTest < ApplicationSystemTestCase
test 'show portfolio' do
visit_with_auth "/users/#{users(:hatsuno).id}/portfolio", 'hatsuno'
assert_equal 'hatsunoのポートフォリオ | FBC', title
assert_equal 'hatsunoさんのポートフォリオ | FBC', title
end
end

0 comments on commit 19fe7f4

Please sign in to comment.