debian-mirror-gitlab/app/presenters/user_presenter.rb
2018-12-23 12:14:25 +05:30

9 lines
177 B
Ruby

# frozen_string_literal: true
class UserPresenter < Gitlab::View::Presenter::Delegated
presents :user
def web_url
Gitlab::Routing.url_helpers.user_url(user)
end
end