summaryrefslogtreecommitdiff
path: root/app/controllers/v1/configs_controller.rb
blob: 537123f8757d40da7be6d850b933f4c4f704e545 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
class V1::ConfigsController < ApiController

  before_filter :require_login

  def index
    render json: CONFIGS
  end

  def show
  end

  CONFIGS = {
    services: {
      soledad: "/1/configs/soledad-service.json",
      eip: "/1/configs/eip-service.json",
      smtp: "/1/configs/smtp-service.json"
    }
  }

end