Class: RailsApiDocs::DocsController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/rails_api_docs/docs_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



9
10
11
12
# File 'app/controllers/rails_api_docs/docs_controller.rb', line 9

def show
  status, html = Doc::Responder.new(config_path: full_config_path).render
  render html: html.html_safe, status: status
end