debian-mirror-gitlab/app/presenters/user_presenter.rb
2019-02-13 22:33:31 +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