This repository has been archived by the owner. It is now read-only.
This Rails plugin adds convenience methods for content negotiation to ActionController::Base
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
MIT-LICENSE
README
init.rb

README

content-negotiation
===================

This Rails plugin adds convenience methods for content negotiation to ActionController::Base

Within your controllers, use client_accepted_languages to determine
the HTTP_ACCEPT_LANGUAGE header sent by the client.

It calls the (memoized) parse_http_accept_language_header in turn.

Copyright (c) 2009 André Wendt, released under the MIT license