• 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
routes_under_scope.rb 713 Bytes