Module: Apress::Documentation::PreloadDocs

Extended by:
ActiveSupport::Concern
Included in:
DocumentsController, SwaggerController
Defined in:
app/controllers/concerns/apress/documentation/preload_docs.rb

Instance Method Summary collapse

Instance Method Details

#load_docsObject



14
15
16
17
# File 'app/controllers/concerns/apress/documentation/preload_docs.rb', line 14

def load_docs
  ActiveSupport.run_load_hooks(:documentation)
  Apress::Documentation.validate_dependencies!
end