railsbp/rails_best_practices — pull request #207 by cschramm (2014-03-04 17:21:10+00:00)
Title: RestrictAutoGeneratedRoutesReview does not respect namespaces defined with :module

Beside the namespace method, there is the :module attribute for the scope and resources methods: http://guides.rubyonrails.org/routing.html#controller-namespaces-and-routing

This is not respected in the review resulting in checking the wrong controller classes.

I could get it working with the appended change, which I hereby present for discussion.