I recommend specifying the HTTP verb(s) you want to match this on.  See the [Rails Guides on Routing](http://guides.rubyonrails.org/routing.html#http-verb-constraints) for more info.