Skip to content
Browse files

Readme fix

  • Loading branch information...
1 parent 83e15d0 commit 6f62615a1ce59e8e21e73eb2c7801cab659a056d @alexlevin committed Dec 20, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 README.md
View
1 README.md
@@ -56,6 +56,7 @@ Customization
You can customize default parameter name <code>ref</code> by providing <code>:param</code> option.
If you want to save your affiliate id for later use, you can specify time to live with <code>:ttl</code> option (default is 30 days).
+ #Rails 3 in config/application.rb
class Application < Rails::Application
...
config.middleware.use Rack::Affiliates.new :param => 'aff_id', :ttl => 3.months

0 comments on commit 6f62615

Please sign in to comment.
Something went wrong with that request. Please try again.