aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/notes_controller.rb
diff options
context:
space:
mode:
authorTeddy Wing2015-12-30 18:51:52 -0800
committerTeddy Wing2015-12-30 18:51:52 -0800
commit38785ce06a484cae08efbdf9d7c7c980c87eb9db (patch)
treedf8c74b2a73f1ca0a8298dbbc551561adfe30bf7 /app/controllers/notes_controller.rb
parentb41a5d1bdde380b698b1123e25532fc26e4bf879 (diff)
downloadEvernote-Rails-Example-38785ce06a484cae08efbdf9d7c7c980c87eb9db.tar.bz2
Use updated 'kipcole9/evernote' gem
Updated the gem to fix the `LoadError` I ran into (https://github.com/teddywing/evernote/commit/f10ec2efe2e2984109545e496f36067cb3707dd6). Change our `NotesController` code to use the updated gem now instead of the code we copied over directly into `services/evernote.rb`.
Diffstat (limited to 'app/controllers/notes_controller.rb')
-rw-r--r--app/controllers/notes_controller.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb
index e9b7e7d..918d7d1 100644
--- a/app/controllers/notes_controller.rb
+++ b/app/controllers/notes_controller.rb
@@ -1,4 +1,4 @@
-require_relative '../services/evernote'
+# require_relative '../services/evernote'
class NotesController < ApplicationController
def index
@@ -10,7 +10,7 @@ class NotesController < ApplicationController
# @notes = @notebooks.collect { |b| e.notes_from_notebook(b) }
- note_store = EvernoteService::NoteStore.new(notestore_url, access_token)
+ note_store = Evernote::NoteStore.new(notestore_url, access_token)
@notebooks = note_store.notebooks
# @notes = @notebooks.collect { |b| b.notes }