I'm new to Linux/Ruby/Rails, so I'm trying to learn by doing the Getting Started with Rails tutorial. In section 5.7, it doesn't specifically say what to do with this line:
post GET /posts/:id(.:format) posts#show
I assume I am to put this in the routes.rb file? I did, but then I get this when I try to GET any of the controller actions:
SyntaxError
/.../blog/config/routes.rb:9: syntax error, unexpected ':', expecting keyword_end post GET /posts/:id(.:format) posts#show ^
Being such a newbie, I have no idea what I should do at this point. What is the error on this line?
Thanks, James