BigW Consortium Gitlab

user_url_constrainer.rb 121 Bytes
Newer Older
1 2
class UserUrlConstrainer
  def matches?(request)
3
    User.find_by_username(request.params[:username]).present?
4 5
  end
end