spree/spree — comment on commit a4a57db941eeb6329ac9a5de64f2175e33a56f95
File:  line 0
By cmar:

You should be able to do Spree::Config.site_name = "my site"

Spree::Config.set :site_name => "my site" is supposed to work. I'll check that tomorrow.

On Dec 2, 2011, at 8:35 PM, Jeff Dutil wrote:

> What is the new convention for setting your preferences? I used to have Spree::Config.set calls in an initializer, but that broke even though I see comments about legacy support.
>
> I get undefined method spree if I change my initializer to call:
>
> Rails.application.config.spree.site_name = 'My Site'
>
> I also get undefined method spree when I try in my apps config/application.rb:
>
> config.spree.site_name = 'My Site'
>
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/spree/spree/commit/a4a57db941eeb6329ac9a5de64f2175e33a56f95#commitcomment-765730