class ApiDoc::DocumentsController < ApiDoc::ApplicationController # layout "api_doc/application" def index # render text: "Yeah!" end def show render template: File.join("api_docs", params[:path]) end end #

<%= @options[:path] %>

#

Example

#

URL: <%= @request.path_info %>

#

# <%= json %>
#