Rails 4.2 routes, fixes #152

Get working with rails 4.2 routes.