Files
openfoodnetwork/config/initializers
Pau Perez 2e2c7c56cb Move default_url_options set up to an initializer
For some reason running `bundle exec rake db:migrate RAILS_ENV=staging`
fails with:

```
rake aborted!
NameError: uninitialized constant Spree::Config
```

Running `bundle exec rails server` for instance, does not. There must be
a difference on the way a rake task and the rails commands load the app.

Moving this configuration to an initializer, at the end of the
initialization process, fixes it. The constant `Spree::Config` is
already loaded.

**This is preventing the release v1.22.0 from being staged and tested**
2018-10-30 19:45:04 +01:00
..
2012-03-27 10:10:26 +11:00
2017-08-02 10:01:12 +10:00
2012-03-27 10:10:26 +11:00
2012-03-27 10:10:26 +11:00
2014-05-30 15:23:42 +10:00
2014-09-16 00:13:43 +10:00
2018-10-08 23:06:54 +01:00
2012-03-27 10:10:26 +11:00