This instance will be upgraded to Heptapod 0.31.0rc on 2022-05-19 at 11:00 UTC+2 (a few minutes of down time)

user_url_constrainer.rb 154 Bytes
Newer Older
1
2
class UserUrlConstrainer
  def matches?(request)
3
    User.find_by_full_path(request.params[:username], follow_redirects: request.get?).present?
4
5
  end
end