scrolls/resque.rb in appscrolls-0.8.2 vs scrolls/resque.rb in appscrolls-0.8.3
- old
+ new
@@ -18,10 +18,10 @@
say_wizard 'Adding resque.rake task to lib/tasks'
create_file "lib/tasks/resque.rake", <<-RAKE
require 'resque/tasks'
RAKE
- route %{match "/resque/eycloud", :to => Resque::Server, :anchor => false}
+ route %Q{match "/resque/#{config['resque_admin_secret']}", :to => Resque::Server, :anchor => false}
if scroll? "eycloud_recipes_on_deploy"
say_wizard 'Installing deploy hooks to restart resque after deploys'
run "touch deploy/before_restart.rb"