It would be better to specify default format in `routes.rb`