Sha256: 148ab0080ee9d2015695dc24ef874ae1e5535d46c50672757ee2e81068785967
Contents?: true
Size: 706 Bytes
Versions: 10
Compression:
Stored size: 706 Bytes
Contents
module Workarea module Api module Admin class Engine < ::Rails::Engine include Workarea::Plugin isolate_namespace Workarea::Api::Admin # Depending on plugin loading order, to_prepare may cause an autoload of # {ApplicationDocument}s so make sure we add this dependency before # `config.to_prepare` initializer 'workarea.api.admin.date_filtering' do Workarea::ApplicationDocument.include(DateFiltering) end config.after_initialize do Workarea::Api::Admin::Swagger.generate! end config.to_prepare do ApplicationDocument.include(DateFiltering) end end end end end
Version data entries
10 entries across 10 versions & 2 rubygems