spiffyjr/spiffy-navigation — pull request #25 by dready (2014-05-02 09:27:42+00:00)
Title: Allow user to add specific parameters to be ignored when checking isActive

A normal CRUD interface has some kind of id for editing it's ressource.

Now if you have a route called `foo/edit` for the route of the editing resource you will also need some kind of id for specifying the element.

However if you have a navigation item for the whole `foo` resource and you want to indicate that the user is still within this part of the website you need a way to ignore the `id` parameter.

In this Pull Request i just added the option `ignore_params` within the normal options of the page letting the user add as many parameters as wished.

I also added two unittests, one without setting the parameter so see that it returns false for isActive, and one working example.

Example of a config:
```
array(
'options' => array(
'label' => 'Edit Customer',
'route' => 'customers/edit',
'ignore_params' => array('id'),
),
),
```