Added conditional on route paths for changes in Rails 4

* Fixes #48
* Added a conditional to test for Rails 4 and above when appending to paths
* Updated routes to use get verb for Rails 4 and above