andi/simple-navigation — pull request #109 by troynt (2012-09-26 21:14:15+00:00)
Title: Subpath shouldn't match partial URL segments. e.g. /resources/1 vs /resources_group/1

If you are using subpath it will match

/resources/1

and

/resources_group/1

If subpath is set on resources.

This is not desirable.

Should only match

/resources/*
/resources
/resources?*
/ReSouRces

I added a test, but I couldn't figure out how to run them. I get controller mock undefined errors.
undefined method `request' for #

However, I'm sure this is something wrong on my end.