Closed kaku87 closed 11 years ago
目前controller的代码都是基本的restful生成的代码,用Inherited Resources可以将这些代码全部干掉,focus在业务上
正解,加入
gem 'inherited_resources'
是如此清爽。。
@songjiayang 再握个手
https://github.com/bay6/union/pull/175
@vincent178 速度啊,我还想刷点儿分儿来着,被你抢了,哈哈
哈哈,我也要刷分啊,不然我得分榜老三位置就保不住了
目前controller的代码都是基本的restful生成的代码,用Inherited Resources可以将这些代码全部干掉,focus在业务上