cirandas.net

ref: master

app/controllers/public/api_controller.rb


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
class ApiController < PublicController

  no_design_blocks

  helper_method :endpoints

  def index
  end

  def playground
  end

  private

  def endpoints
    Api::App.endpoints(environment)
  end

end