Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user_presenter.rb « presenters « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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