have a problem with the beginning of the exercise.
I have no problem making the controller but when it comes to the routing I cant seem the get the desired answer for making the route and I've tried various ways and have googled it so thats why Im here.
here is the code I have for the db.route file which is where the problem is.
Rails.application.routes.draw do get 'messages', to 'index#messages' end
not sure if its right but if anyone can help that would be great!
anything related to my posting and how I can improve if I've done anything irelevant is much appreciated also!