lib/controllers/generate.rb in evertils-0.2.6 vs lib/controllers/generate.rb in evertils-0.2.7
- old
+ new
@@ -56,11 +56,11 @@
title = @format.date_templates[NOTEBOOK_WEEKLY]
body = @format.template_contents
parent_notebook = NOTEBOOK_WEEKLY
- @model.create_note
+ @model.create_note(title, body, parent_notebook)
end
# generate monthly notes
def monthly
if !@force
@@ -71,10 +71,10 @@
title = @format.date_templates[NOTEBOOK_MONTHLY]
body = @format.template_contents
parent_notebook = NOTEBOOK_MONTHLY
- @model.create_note
+ @model.create_note(title, body, parent_notebook)
end
end
end
end