Skip to content

Commit

Permalink
fix helper method name clash
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Conway committed Dec 13, 2011
1 parent 0988236 commit 9a67a7f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/resque/plugins/dynamic_queues/server.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def self.registered(app)
end
end

plugin_view :queues
dynamicqueues_view :queues
end

app.post "/dynamicqueues" do
Expand All @@ -48,7 +48,7 @@ def self.registered(app)
end

app.helpers do
def plugin_view(filename, options = {}, locals = {})
def dynamicqueues_view(filename, options = {}, locals = {})
erb(File.read(File.join(::Resque::Plugins::DynamicQueues::Server::VIEW_PATH, "#{filename}.erb")), options, locals)
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/resque/plugins/dynamic_queues/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Resque
module Plugins
module DynamicQueues
VERSION = "0.7.0"
VERSION = "0.7.1"
end
end
end

0 comments on commit 9a67a7f

Please sign in to comment.