Class: ActiveScaffold::Bridges::Dragonfly

Inherits:
DataStructures::Bridge show all
Defined in:
lib/active_scaffold/bridges/dragonfly.rb,
lib/active_scaffold/bridges/dragonfly/dragonfly_bridge.rb,
lib/active_scaffold/bridges/dragonfly/dragonfly_bridge_helpers.rb

Defined Under Namespace

Modules: DragonflyBridge, DragonflyBridgeHelpers

Class Method Summary collapse

Methods inherited from DataStructures::Bridge

install?, javascripts, prepare, run, stylesheets

Class Method Details

.installObject



2
3
4
5
6
7
8
# File 'lib/active_scaffold/bridges/dragonfly.rb', line 2

def self.install
  require File.join(File.dirname(__FILE__), 'dragonfly/form_ui')
  require File.join(File.dirname(__FILE__), 'dragonfly/list_ui')
  require File.join(File.dirname(__FILE__), 'dragonfly/dragonfly_bridge_helpers')
  require File.join(File.dirname(__FILE__), 'dragonfly/dragonfly_bridge')
  ActiveScaffold::Config::Core.send :prepend, ActiveScaffold::Bridges::Dragonfly::DragonflyBridge
end