Skip to content
Browse files

Symlinking recaptcha values.

  • Loading branch information...
1 parent 0856a37 commit d7cef0374e85962ac3edb5d60cd278c561788d1c @voodootikigod committed
Showing with 11 additions and 1 deletion.
  1. +10 −0 config/deploy.rb
  2. +1 −1 config/jsroll.yml
View
10 config/deploy.rb
@@ -62,6 +62,16 @@
end
+before "deploy:symlink", "recaptcha:symlink"
+
+namespace :recaptcha do
+ desc "Symbolically link recaptcha values"
+ task :symlink do
+ run <<-CMD
+ ln -nfs #{shared_path}/system/recaptcha.rb #{release_path}/config/initializers/recaptcha.rb
+ CMD
+ end
+end
namespace :db do
View
2 config/jsroll.yml
@@ -9,7 +9,7 @@ meta_author: "Chris Williams"
body_class: jsroll
# Set this to true for a more fancy interface, but for the cost of page load time
-uses_javascript: false
+uses_javascript: true
# Edit expiration default: 60 (this means that editing ends 60 minutes after last update of item)
# Set to 0 or omit to always allow editing of items by its owner

0 comments on commit d7cef03

Please sign in to comment.
Something went wrong with that request. Please try again.