lib/resque/plugins/dynamic_queues/server.rb in resque-dynamic-queues-0.8.0 vs lib/resque/plugins/dynamic_queues/server.rb in resque-dynamic-queues-0.8.1
- old
+ new
@@ -42,10 +42,10 @@
key = queue['name']
values = queue['value'].to_s.split(',').collect{|q| q.gsub(/\s/, '') }
queues[key] = values
end
Resque.set_dynamic_queues(queues)
- redirect url(:dynamicqueues)
+ redirect "/dynamicqueues"
end
app.helpers do
def dynamicqueues_view(filename, options = {}, locals = {})
erb(File.read(File.join(::Resque::Plugins::DynamicQueues::Server::VIEW_PATH, "#{filename}.erb")), options, locals)