Fix it as tagged_request of accounts_controller is not addressable_uri (#9976)

lolsob-rspec
Takeshi Umeda 2019-02-05 23:11:11 +09:00 committed by Eugen Rochko
parent c00cf2b83b
commit 3d54d631a4
1 changed files with 1 additions and 1 deletions

View File

@ -116,7 +116,7 @@ class AccountsController < ApplicationController
end
def tag_requested?
request.path.ends_with?("/tagged/#{params[:tag]}")
request.path.ends_with?(Addressable::URI.parse("/tagged/#{params[:tag]}").normalize)
end
def filtered_status_page(params)