lib/sup/draft.rb in sup-0.2 vs lib/sup/draft.rb in sup-0.3
- old
+ new
@@ -45,10 +45,10 @@
yaml_properties :cur_offset
def initialize cur_offset=0
dir = Redwood::DRAFT_DIR
Dir.mkdir dir unless File.exists? dir
- super "draft://#{dir}", cur_offset, true, false
+ super DraftManager.source_name, cur_offset, true, false
@dir = dir
end
def id; DraftManager.source_id; end
def to_s; DraftManager.source_name; end