Class: ApidocsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/apidocs_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



7
8
9
10
11
12
# File 'app/controllers/apidocs_controller.rb', line 7

def show
  respond_to do |format|
    format.html
    format.json { render json: generate_doc }
  end
end