From the [official guide](http://guides.rubyonrails.org/routing.html#http-verb-constraints), wouldn't this make more sense?
```ruby
match 'photos/show' => 'photos#show', :via => [:get, :post]
```