Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

No commit message

  • Loading branch information...
commit 5846e652407eb26f54f85062cd4fe5cda68daf61 1 parent b23f6ef
mrflip authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 generators/authenticated/templates/authenticated_system.rb
View
5 generators/authenticated/templates/authenticated_system.rb
@@ -68,8 +68,9 @@ def access_denied
redirect_to new_<%= controller_routing_name %>_path
end
# format.any doesn't work in rails version < http://dev.rubyonrails.org/changeset/8987
- # Add any other API formats here. Some browsers send Accept: */* and
- # trigger the 'format.any' block incorrectly.
+ # Add any other API formats here. (Some browsers, notably IE6, send Accept: */* and trigger
+ # the 'format.any' block incorrectly. See http://bit.ly/ie6_borken or http://bit.ly/ie6_borken2
+ # for a workaround.)
format.any(:json, :xml) do
request_http_basic_authentication 'Web Password'
end
Please sign in to comment.
Something went wrong with that request. Please try again.