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.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/app/controllers/v1/configs_controller.rb b/app/controllers/v1/configs_controller.rb
index b11b0a9..537123f 100644
--- a/app/controllers/v1/configs_controller.rb
+++ b/app/controllers/v1/configs_controller.rb
@@ -1,12 +1,4 @@
-class V1::ConfigsController < ApplicationController
-
- CONFIGS = {
- services: {
- soledad: "/1/configs/soledad-service.json",
- eip: "/1/configs/eip-service.json",
- smtp: "/1/configs/smtp-service.json"
- }
- }
+class V1::ConfigsController < ApiController
before_filter :require_login
@@ -17,4 +9,12 @@ class V1::ConfigsController < ApplicationController
def show
end
+ CONFIGS = {
+ services: {
+ soledad: "/1/configs/soledad-service.json",
+ eip: "/1/configs/eip-service.json",
+ smtp: "/1/configs/smtp-service.json"
+ }
+ }
+
end