Simplified checkRouteParams into one function
Merge pull request #6 from samuelfrench/testing

Copy to testing
Merge pull request #7 from samuelfrench/master

copying