a couple days ago i started a project- i’m not using restful routes and my whole file looks like this match '/a/b' => 'a#b' over and over. Are these kind of routes considered incorrect or bad?
a couple days ago i started a project- i’m not using restful routes and
Share
This is considered bad practice. Instead you should use
resourceorresourcesliberally and do your best to follow the seven RESTful actions. Your best bet is to read The Ruby on Rails Routing Guide as it provides many great examples!