Module: ActiveScaffold::Bridges::PaperTrail::Helper

Defined in:
lib/active_scaffold/bridges/paper_trail/helper.rb

Instance Method Summary collapse

Instance Method Details



6
7
8
9
10
11
12
# File 'lib/active_scaffold/bridges/paper_trail/helper.rb', line 6

def display_action_links(action_links, record, options, &block)
  if action_name == 'deleted'
    action_links = filter_action_links_for_deleted(action_links, record, options)
    return unless action_links
  end
  super(action_links, record, options, &block)
end


4
# File 'lib/active_scaffold/bridges/paper_trail/helper.rb', line 4

def filter_action_links_for_deleted(action_links, record, options); end