• Bob Van Landuyt's avatar
    Add `present_using` to types · aa4b1ae7
    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`).
    aa4b1ae7
present.rb 913 Bytes