diff options
-rw-r--r-- | app/controllers/static_config_controller.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/controllers/static_config_controller.rb b/app/controllers/static_config_controller.rb index c669316..450cbb2 100644 --- a/app/controllers/static_config_controller.rb +++ b/app/controllers/static_config_controller.rb @@ -17,8 +17,8 @@ class StaticConfigController < ActionController::Base render :text => File.read(PROVIDER_JSON) end else - render :text => 'not found', :status => 404 + render json: {error: 'not found'}, status: 404 end end -end
\ No newline at end of file +end |