Can you make all routes default to json?
json
I have the following for an api scope but am wondering if you can do the same for the global scope?
Use constraints
constraints
constraints format: :json do resources :users end
or
resources :users, :defaults => { :format => 'json' }