Commit graph

6 commits

Author SHA1 Message Date
Patrick Gansterer
91eeac6c40 Set the common ActionMailer default_url_options only once
There is no need to set options other than the foodcoop during every
change of the scope. This also makes sure that the correct options will
be loaded during testing to fix problems with newer rails versions.
2019-10-29 13:40:45 +01:00
Patrick Gansterer
386bc7382d Support integers for price_markup
The config panel writes an integer into the settings table in the
database, which results in a wrong calculation of the fc_price.
2017-10-08 12:33:44 +02:00
wvengen
a594dffed2 disable config validation (closes foodcoops#313) 2014-09-30 15:09:47 +02:00
wvengen
6115979bae allow protected keys to be set/unset + config_db tests 2014-09-02 14:21:32 +02:00
wvengen
63d52db91b more sensible mailer option defaults
Conflicts:
	app/mailers/base_mailer.rb
	config/app_config.yml.SAMPLE
	spec/app_config.yml
2014-09-02 12:35:57 +02:00
wvengen
ed439d0b08 use minimal app_config for tests 2014-05-13 17:01:26 +02:00