Module: AmcmsFilemanager

Defined in:
lib/amcms_filemanager.rb,
lib/amcms_filemanager/engine.rb,
lib/amcms_filemanager/version.rb,
lib/amcms_filemanager/configuration.rb,
app/jobs/amcms_filemanager/application_job.rb,
app/models/amcms_filemanager/application_record.rb,
app/helpers/amcms_filemanager/application_helper.rb,
app/helpers/amcms_filemanager/filemanager_helper.rb,
app/mailers/amcms_filemanager/application_mailer.rb,
app/controllers/amcms_filemanager/application_controller.rb,
app/controllers/amcms_filemanager/filemanager_controller.rb,
app/controllers/amcms_filemanager/imagemanager_controller.rb

Defined Under Namespace

Modules: ApplicationHelper, FilemanagerHelper Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, Engine, Filemanager, FilemanagerController, FilemanagerUploader, Imagemanager, ImagemanagerController

Constant Summary collapse

VERSION =
'0.2.2'

Class Method Summary collapse

Class Method Details

.configObject



21
22
23
# File 'lib/amcms_filemanager/engine.rb', line 21

def config
  Rails.application.config
end

.configure {|@config| ... } ⇒ Object

Yields:



13
14
15
16
17
18
19
# File 'lib/amcms_filemanager/engine.rb', line 13

def configure(&block)
  @config ||= AmcmsFilemanager::Engine::Configuration.new

  yield @config if block

  @config
end