# config.http_authenticatable = false
# If http headers should be returned for AJAX requests. True by default.
- # config.http_authenticatable_on_xhr = true
+ config.http_authenticatable_on_xhr = true
# The realm used in Http Basic Authentication. "Application" by default.
# config.http_authentication_realm = "Application"
#
# The :"*/*" and "*/*" formats below is required to match Internet
# Explorer requests.
- # config.navigational_formats = [:"*/*", "*/*", :html]
+ config.navigational_formats = [:"*/*", "*/*", :html, :json]
# The default HTTP method used to sign out a resource. Default is :delete.
config.sign_out_via = :delete