summaryrefslogtreecommitdiff
path: root/app/controllers/v1/configs_controller.rb
blob: b11b0a9a428a061de8c81c533753101f568fc6d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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
  end

end