Receiving Syntax Error When Adding Controller

Receiving Syntax Error When Adding Controller

New to RoR; I have received great help here.
Moving through a tutorial here, and I created a new controller. However,
the config/routes file did not automatically update. Therefor, I made the
edit myself and added get "static_pages/home" and get "static_pages/help".
However, when I go to the url for the 'Home' page, I'm presented with and
error stating:
SyntaxError in StaticPagesController#home
further stating:
/Users/coreymkimball/Canvi/sample_app/app/controllers/static_pages_controller.rb:2:
syntax error, unexpected rails.root: /Users/coreymkimball/Canvi/sample_app
Can anyone give me a tip?