summaryrefslogtreecommitdiff
path: root/app/presenters/user_presenter.rb
blob: 14ef53e9ec8f9e5257b0130f3f911acf2a9aee10 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class UserPresenter < Gitlab::View::Presenter::Delegated
  presents :user

  def web_url
    Gitlab::Routing.url_helpers.user_url(user)
  end
end