Saving data lesson: 5. create messages I (ERROR)


Hi i am having issues with part 2 of 5/7 where it asks me to add the "new" action under the index action in the messenger controller. I made a route for the action prior then followed the next step to a every detail and it remains to give me the same error message

app/controllers/messages_controller.rb:8:syntax error unexpected end-of-input, expecting keyword_end (syntax error)


Could you display the code you are using....


i am having problem in creating a route file... ex. 3/7


just add the "end"
that is will work