Permalink
Browse files

Use resque_admin_secret instead of hardcoded string

  • Loading branch information...
1 parent 7c6f5e6 commit d28df5440883291084ddd6a525434839aa66514b @drnic committed Apr 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 scrolls/resque.rb
View
@@ -20,7 +20,7 @@
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"

0 comments on commit d28df54

Please sign in to comment.