Ignore named route matched for non path methods
Since path_helper_name always ends with _path
we are ignoring methods that don't end with _path
.
Realted to: https://gitlab.com/gitlab-org/grape-path-helpers/-/issues/4 and gitlab-org/gitlab#356717 (closed)
Edited by Nikola Milojevic