summaryrefslogtreecommitdiff
path: root/app/controllers/static_config_controller.rb
AgeCommit message (Collapse)Author
2016-05-03use APP_CONFIG[config_file_paths] for provider.jsonAzul
This avoids overwriting the PROVIDER_JSON constant in the StaticConfigController and thus fixes test warnings. Also moved away from using instance variables in the ControllerExtension::JsonFile - instead querying the corresponding functions now - less sideeffects and easier stubbing.
2014-07-14send config files from ConfigsControllerAzul
2014-07-14render valid json error if provider file not foundAzul
2013-12-29Return 'provider.json' via a controller, to better be able to control the ↵elijah
response headers (in particular, 'X-Minimum-Client-Version'). It must now be placed in config/provider/provider.json