Skip to content

Commit

Permalink
Merge pull request #4073 from fjordllc/feature/change-title-of-commen…
Browse files Browse the repository at this point in the history
…t-page

コメントのページのタイトルから「のコメント」を削除した
  • Loading branch information
komagata authored Feb 1, 2022
2 parents 4d0eaae + 5759093 commit 40b23bc
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/comments/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/comments_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@
class User::CommentsTest < ApplicationSystemTestCase
test 'show listing comments' do
visit_with_auth "/users/#{users(:hatsuno).id}/comments", 'hatsuno'
assert_equal 'hatsunoのコメント | FJORD BOOT CAMP(フィヨルドブートキャンプ)', title
assert_equal 'hatsuno | FJORD BOOT CAMP(フィヨルドブートキャンプ)', title
end
end

0 comments on commit 40b23bc

Please sign in to comment.