Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
mrflip committed Sep 5, 2008
1 parent b23f6ef commit 5846e65
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions generators/authenticated/templates/authenticated_system.rb
Expand Up @@ -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
Expand Down

0 comments on commit 5846e65

Please sign in to comment.