Module: ActiveScaffold::Bridges::PaperTrail::Helper
- Defined in:
- lib/active_scaffold/bridges/paper_trail/helper.rb
Instance Method Summary collapse
- #display_action_links(action_links, record, options, &block) ⇒ Object
- #filter_action_links_for_deleted(action_links, record, options) ⇒ Object
Instance Method Details
#display_action_links(action_links, record, options, &block) ⇒ Object
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, , &block) if action_name == 'deleted' action_links = filter_action_links_for_deleted(action_links, record, ) return unless action_links end super(action_links, record, , &block) end |
#filter_action_links_for_deleted(action_links, record, options) ⇒ Object
4 |
# File 'lib/active_scaffold/bridges/paper_trail/helper.rb', line 4 def filter_action_links_for_deleted(action_links, record, ); end |