• Peter Leitzen's avatar
    Check HTTP methods in Cop/Put{Project,Group}RoutesUnderScope · 718255ad
    Peter Leitzen authored
    Previously, Cop/PutProjectRoutesUnderScope and
    Cop/PutGroupRoutesUnderScope were only checking `resource` and
    `resources` and skipped checking trivial routes like `get`, `post` etc.
    
    This commit unifies both cops and adds the ability to check HTTP
    methods.
    718255ad
group.rb 6.4 KB