Change gem to use only use actions of the current controller.

Avoids problems when you have injected methods or routes with "check_" in the name.