Skip to content

Commit

Permalink
Symlinking recaptcha values.
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Williams committed Jul 21, 2009
1 parent 0856a37 commit d7cef03
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions config/deploy.rb
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/jsroll.yml
Expand Up @@ -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
Expand Down

0 comments on commit d7cef03

Please sign in to comment.