Skip to content

Commit

Permalink
Fix it as tagged_request of accounts_controller is not addressable_uri (
Browse files Browse the repository at this point in the history
  • Loading branch information
noellabo authored and Gargron committed Feb 5, 2019
1 parent 2357718 commit 4ca9f76
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/accounts_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ def replies_requested?
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)
Expand Down

0 comments on commit 4ca9f76

Please sign in to comment.