wilsonpeng8/notenote — pull request #1 by mackenziechild (2014-11-23 04:08:43+00:00)
Title: Move controller methods inside NotesController

So what was happening was you were closing the "NotesController" class before you added your methods inside.

So simply moving the methods up & inside the class NotesController fixed the issue :)