diff options
Diffstat (limited to 'app/controllers/notes_controller.rb')
| -rw-r--r-- | app/controllers/notes_controller.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index a4391f6..bf7f5ab 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -4,8 +4,10 @@ class NotesController < ApplicationController def index auth_token = 'S=s1:U=91e2f:E=151f92661a2:C=151f4000220:P=185:A=evernotesandbox199:V=2:H=5777502290baf1ae1b36ad6254592258' notestore_url = 'https://sandbox.evernote.com/shard/s1/notestore' - + e = EvernoteService.new(auth_token, notestore_url) @notebooks = e.notebooks + + # @notes = @notebooks.collect { |b| e.notes_from_notebook(b) } end end |
