[api] Move some move configs from environment.rb to option.yaml.
authorSascha Peilicke <saschpe@suse.de>
Wed, 30 Mar 2011 09:23:08 +0000 (11:23 +0200)
committerSascha Peilicke <saschpe@suse.de>
Wed, 30 Mar 2011 14:20:46 +0000 (16:20 +0200)
commit80777c3c89e7ad7b7af5f17a5dce1e268362ef38
tree6180f43a00d1353448e8cd650737e29ab1ea8bd6
parent3eddc1cc1dc26ec2fcbf8fbca4e88ab395c739ca
[api] Move some move configs from environment.rb to option.yaml.

Replace MIN_VOTES_FOR_RATING with CONFIG["min_votes_for_rating"].
Moved exception_notifier sender to option.yaml and added more docs.
src/api/app/controllers/application_controller.rb
src/api/config/environment.rb
src/api/config/options.yml