Sha256: 6c9e389cd8866abf8cdc670a6ac8091a98fcd822a48db806474e3bee92521b1e
Contents?: true
Size: 350 Bytes
Versions: 2
Compression:
Stored size: 350 Bytes
Contents
module EasySwaggerUi module ApplicationHelper def swagger_routes Engine.routes.url_helpers end def asset_available?(path) if Rails.configuration.assets.compile Rails.application.precompiled_assets.include?(path) else Rails.application.assets_manifest.assets[path].present? end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
easy_swagger_ui-0.1.2 | app/helpers/easy_swagger_ui/application_helper.rb |
easy_swagger_ui-0.1.1 | app/helpers/easy_swagger_ui/application_helper.rb |