As far as I understood, unlike Rails Yii2 still doesn’t use RESTful routing for CRUDs by default.
There is a lot of information about how to easily build REST API application (like described in http://www.yiiframework.com/doc-2.0/guide-rest-quick-start.html)
I’ve also found an article by qiangxue https://github.com/yiisoft/yii2/blob/master/docs/guide/rest-routing.md on how to enable REST routing for CRUDs and a gist added by cebe (https://gist.github.com/cebe/5674918) doing almost the same thing in other way.
Is there a preferred way to support RESTful routing also on the code side - to easily add support to default GridView widget and controllers (like done for API using yii\rest\ActiveController component?)?