Class: Apress::Documentation::DocumentsController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- Apress::Documentation::DocumentsController
- Includes:
- PreloadDocs
- Defined in:
- app/controllers/apress/documentation/documents_controller.rb
Instance Method Summary collapse
Methods included from PreloadDocs
Instance Method Details
#show ⇒ Object
7 8 9 |
# File 'app/controllers/apress/documentation/documents_controller.rb', line 7 def show @document = Apress::Documentation.fetch_document(params[:path]) if params[:path] end |