从命令行更改类别默认视图

Sorry David. You need to do

MyCategory.save!

Directly afterwards :blush:

2 个赞