From 5d0705071937db3785ce40995dc8c75fb3b7a303 Mon Sep 17 00:00:00 2001 From: Dr Nic Williams Date: Mon, 2 Apr 2012 21:50:33 -0700 Subject: [PATCH] Namespaced the resque admin_secret config --- scrolls/resque.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scrolls/resque.rb b/scrolls/resque.rb index 690bc1f..00d87d7 100644 --- a/scrolls/resque.rb +++ b/scrolls/resque.rb @@ -20,10 +20,10 @@ require 'resque/tasks' RAKE - unless config['admin_secret'].blank? + unless config['resque_admin_secret'].blank? route <<-ROUTE require "resque/server" - mount Resque::Server.new, :at => "/resque/#{config['admin_secret']}" + mount Resque::Server.new, :at => "/resque/#{config['resque_admin_secret']}" ROUTE end @@ -63,7 +63,7 @@ type: boolean prompt: "Install the great admin interface to Resque?" - - admin_secret: + - resque_admin_secret: type: string prompt: "Enter a secret string for the route /resque/YOUR-SECRET-STRING:" if: admin \ No newline at end of file