Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixing error in template installer. Small change to rdoc.

  • Loading branch information...
commit 888019d74936b929f38cd3c9b05c1eed14fd51a0 1 parent 483722b
@jkeck jkeck authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.