summaryrefslogtreecommitdiff
path: root/app/controllers/v1/configs_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/v1/configs_controller.rb')
-rw-r--r--app/controllers/v1/configs_controller.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/controllers/v1/configs_controller.rb b/app/controllers/v1/configs_controller.rb
index a43861b..b11b0a9 100644
--- a/app/controllers/v1/configs_controller.rb
+++ b/app/controllers/v1/configs_controller.rb
@@ -1,8 +1,17 @@
class V1::ConfigsController < ApplicationController
+ CONFIGS = {
+ services: {
+ soledad: "/1/configs/soledad-service.json",
+ eip: "/1/configs/eip-service.json",
+ smtp: "/1/configs/smtp-service.json"
+ }
+ }
+
before_filter :require_login
def index
+ render json: CONFIGS
end
def show