Class: ActiveScaffold::Bridges::PaperTrail
- Inherits:
-
DataStructures::Bridge
- Object
- DataStructures::Bridge
- ActiveScaffold::Bridges::PaperTrail
- Defined in:
- lib/active_scaffold/bridges/paper_trail.rb,
lib/active_scaffold/bridges/paper_trail/helper.rb,
lib/active_scaffold/bridges/paper_trail/paper_trail_bridge.rb
Defined Under Namespace
Modules: Helper, PaperTrailBridge
Class Method Summary collapse
Methods inherited from DataStructures::Bridge
install?, javascripts, run, stylesheets
Class Method Details
.install ⇒ Object
2 3 4 5 6 7 |
# File 'lib/active_scaffold/bridges/paper_trail.rb', line 2 def self.install require File.join(File.dirname(__FILE__), 'paper_trail/paper_trail_bridge') require File.join(File.dirname(__FILE__), 'paper_trail/actions') require File.join(File.dirname(__FILE__), 'paper_trail/config') require File.join(File.dirname(__FILE__), 'paper_trail/helper') end |
.prepare ⇒ Object
9 10 11 |
# File 'lib/active_scaffold/bridges/paper_trail.rb', line 9 def self.prepare ActiveScaffold::Routing::ACTIVE_SCAFFOLD_CORE_ROUTING[:collection][:deleted] = :get end |