lib/evertils/controllers/render.rb in evertils-1.0.5 vs lib/evertils/controllers/render.rb in evertils-1.0.6

- old
+ new

@@ -2,10 +2,16 @@ module Evertils module Controller class Render < Controller::Base def from_file(config) - @config = config.translate_placeholders.pluck(:title, :notebook, :path, :action) + @config = config.translate_placeholders.pluck( + :title, + :title_format, + :notebook, + :path, + :action + ) return Notify.warning("Note already exists\n- #{@link}") if note_exists? Notify.info 'Note not found, creating a new one'