Commit 47b79e71 authored by John E. Vincent's avatar John E. Vincent

fix for leading slash in Noah::Ephemeral.watch!

parent a6f5d3f1
......@@ -42,7 +42,8 @@ module Noah
protected
def patternize_me
"//noah/#{self.class_to_lower}/#{name}"
name.match(/^\//) ? n = name.gsub(/^\//, '') : n = name
"//noah/#{self.class_to_lower}/#{n}"
end
def stash_name
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment