enriclluelles/route_translator — pull request #13 by jacob-carlborg (2012-10-05 12:55:59+00:00)
Title: Fix a conflict with the "routing-filter" gem.

There's a conflict with the `routing-filter` gem which this pull request fixes. I don't know what's most appropriate way to handle these kind of issues but it was a simple code change.

The problem is that `route-translator` resets the routes which will clear the filters used by `routing-filter`. This fix restores the filters after the reset.

I have not added a test for this, don't know if that is possible.