Permalink
Browse files

Fixing error in template installer. Small change to rdoc.

  • Loading branch information...
1 parent 483722b commit 888019d74936b929f38cd3c9b05c1eed14fd51a0 @jkeck jkeck committed May 1, 2010
Showing with 4 additions and 2 deletions.
  1. +3 −1 README.rdoc
  2. +1 −1 template.rb
View
4 README.rdoc
@@ -14,7 +14,9 @@ Clone the advanced search plugin from github into your application's vendor/plug
git clone http://github.com/projectblacklight/blacklight_advanced_search.git
Now run the template installer from your application.
-* cd back to your application's root directory then run the the following command:
+* cd back to your application's root directory
+ cd ../../
+* And then run the the following command:
rake rails:template LOCATION=vendor/plugins/blacklight_advanced_search/template.rb
== Configuration:
View
2 template.rb
@@ -11,7 +11,7 @@
# cp the blacklight_advanced_search initializer file from the plugin up to the new app
puts "\n* Copying the Blacklight Advanced Search config to your config/initializers directory..."
-advanced_search_config = "config/initializers/blacklight_config.rb"
+advanced_search_config = "config/initializers/blacklight_advanced_search_config.rb"
unless File.exists? advanced_search_config
FileUtils.cp "vendor/plugins/#{plugin_dirname}/config/initializers/blacklight_advanced_search_config.rb", advanced_search_config
else

0 comments on commit 888019d

Please sign in to comment.