Skip to content

Commit

Permalink
ポートフォリオページのtitleタグ内のユーザー名に'さん'をつけるように修正
Browse files Browse the repository at this point in the history
  • Loading branch information
motohiro-mm committed Jun 6, 2024
1 parent 9f0434a commit 3e47283
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 3e47283

Please sign in to comment.