Sha256: f8ffdc81533c8c9949c71327d7e60436f5ec62e1798f1406247eef42ae9fcf01

Contents?: true

Size: 393 Bytes

Versions: 1

Compression:

Stored size: 393 Bytes

Contents

module Apress
  module Documentation
    class DocumentsController < ActionController::Base
      include ::Apress::Documentation::PreloadDocs
      layout 'documentation'

      def show
        @document = Apress::Documentation.fetch_document(params[:path]) if params[:path]
      end

      ActiveSupport.run_load_hooks(:'apress/documentation/documents_controller', self)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
apress-documentation-0.4.0 app/controllers/apress/documentation/documents_controller.rb