1

似乎许多 Spree 的扩展不支持最新版本的 Spree (1.2.0)。我试图安装一些宝石,但我不断得到

uninitialized constant Spree::ThemeSupport

我在某处读到的解决方案是“它已被弃用,现在已被删除,您现在应该在 app/overrides 目录中定义 Deface 覆盖”。但是具体怎么做呢?有没有人实施过这个?

4

1 回答 1

0

现在可能已经解决了,但如果没有,这里有一个示例 1 我从 ThemeSupport 更改为 Deface

https://github.com/geermc4/spree_user_groups/blob/ec2a169d96acf6cbcf731d24d518134e55598d29/app/overrides/add_user_groups_to_configuration_menu.rb

底部评论的是 ThemeSupport

于 2012-11-27T01:06:24.840 回答