Skip to content

Commit

Permalink
Merge pull request #4117 from fjordllc/feature/change-user-portfolio-…
Browse files Browse the repository at this point in the history
…page-title

ユーザー > ポートフォリオ のページのタイトルを変更
  • Loading branch information
komagata authored Feb 5, 2022
2 parents 0533ff9 + d3dd692 commit 2e1d236
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
header.page-header
.container
.page-header__inner
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のポートフォリオ | FJORD BOOT CAMP(フィヨルドブートキャンプ)', title
assert_equal 'hatsuno | FJORD BOOT CAMP(フィヨルドブートキャンプ)', title
end
end

0 comments on commit 2e1d236

Please sign in to comment.