Skip to content

Commit

Permalink
fix readme concerning rails
Browse files Browse the repository at this point in the history
  • Loading branch information
minad committed Oct 12, 2015
1 parent df26a3b commit 926267c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -717,7 +717,7 @@ run lambda { |env|
Add the session store in your application configuration `config/environments/*.rb`.

~~~ ruby
require 'moneta'
require 'action_dispatch/middleware/session/moneta_store'

# Only by adapter name
config.cache_store :moneta_store, store: :Memory
Expand All @@ -738,7 +738,7 @@ Add the cache store in your application configuration `config/environments/*.rb`
Moneta cache store doesn't support matchers. If you need these features use a different server-specific implementation.

~~~ ruby
require 'moneta'
require 'active_support/cache/moneta_store'

# Only by adapter name
config.cache_store :moneta_store, store: :Memory
Expand Down

0 comments on commit 926267c

Please sign in to comment.