Class: ActiveScaffold::Bridges::ActiveStorage

Inherits:
DataStructures::Bridge show all
Defined in:
lib/active_scaffold/bridges/active_storage.rb,
lib/active_scaffold/bridges/active_storage/active_storage_bridge.rb,
lib/active_scaffold/bridges/active_storage/active_storage_helpers.rb

Defined Under Namespace

Modules: ActiveStorageBridge, ActiveStorageBridgeHelpers

Class Method Summary collapse

Methods inherited from DataStructures::Bridge

install?, javascripts, prepare, run, stylesheets

Class Method Details

.installObject



5
6
7
8
# File 'lib/active_scaffold/bridges/active_storage.rb', line 5

def self.install
  Dir[File.join(__dir__, 'active_storage', '*.rb')].each { |file| require file }
  ActiveScaffold::Config::Core.send :prepend, ActiveScaffold::Bridges::ActiveStorage::ActiveStorageBridge
end