From b2a5b1261b3849956f4ede7778bdefc8e62a197d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maur=C3=ADcio=20Eduardo=20Loschi=20Batista?= Date: Sun, 22 Dec 2013 19:44:16 -0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 84d8376..f0c8ee6 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ The minimum configuration file must have the sphinx.conf output path, the addres It's also a good idea to define a default path for very index. The `xmlpipe_command` is set to a default when using rails, otherwise you need to set it for each index or a default on the YAML file. -String settings of the index and source accept ERB, and you have access to the Mongoid::Giza::Index from the erb +String settings of the index and source accept ERB, and you have access to the `Mongoid::Giza::Index` from it The configuration file is automatically loaded when using Rails from `config/giza.yml`, otherwise you will need to call `Mongoid::Giza::Configuration.instance.load` to load it.