Adapts authlogic to work with rails. The point is to close the gap between what authlogic expects and what the rails controller object provides. Similar to how ActiveRecord has an adapter for MySQL, PostgreSQL, SQLite, etc.
# File lib/authlogic/controller_adapters/rails_adapter.rb, line 8 def authenticate_with_http_basic(&block) controller.authenticate_with_http_basic(&block) end
# File lib/authlogic/controller_adapters/rails_adapter.rb, line 21 def request_content_type request.format.to_s end