I got a route error


#1

when i compiled my project, I got an error as following ; No route matches [GET] "/messages"
What should i do to solve this problem? please help.!!


#2

Check your config/routes.rb file. It should contain a route saying

get '/messages' => 'messages#index'