• Bob Van Landuyt's avatar
    Add `present_using` to types · 767fd175
    Bob Van Landuyt authored
    By specifying a presenter for the object type, we can keep the logic
    out of `GitlabSchema`.
    
    The presenter gets initialized using the object being presented, and
    the context (including the `current_user`).
    767fd175
merge_request_presenter.rb 6.73 KB