• 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
put_group_routes_under_scope_spec.rb 1.3 KB