Check HTTP methods in Cop/Put{Project,Group}RoutesUnderScope
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.
Showing
Please register or sign in to comment