Permalink
Browse files

Update readme to reflect new configuration method

  • Loading branch information...
1 parent 04f29a0 commit f6ca9f360eed4fc1a1be6a8362a9c4c80d21c17d @jtdowney jtdowney committed Feb 21, 2012
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
@@ -84,8 +84,10 @@ You can also use Rails form builder with curator models:
If you are not using Rails, you can configure curator manually:
```ruby
-Curator.environment = "development"
-Curator.riak_config_file = File.dirname(__FILE__) + "/config/riak.yml"
+Curator.configure do |config|
+ config.environment = "development"
+ config.riak_config_file = File.dirname(__FILE__) + "/config/riak.yml"
+end
```
## Under the hood

0 comments on commit f6ca9f3

Please sign in to comment.