Sha256: 8cccd214d041131e0ebe34dc29ff9c250a70c042fbc365fb1695fcde65e8997d

Contents?: true

Size: 449 Bytes

Versions: 6

Compression:

Stored size: 449 Bytes

Contents

EffectiveTrash.setup do |config|
  # Configure Database Table
  config.trash_table_name = :trash

  # Admin Screens Layout Settings
  config.layout = 'application'   # All EffectiveTrash controllers will use this layout

  # config.layout = {
  #   trash: 'application',
  #   admin_trash: 'admin',
  # }

  # Enable the /trash, /admin/trash and /trash/:id/restore routes. Doesn't affect acts_as_trashable itself.
  config.routes_enabled = true
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
effective_trash-0.4.5 config/effective_trash.rb
effective_trash-0.4.4 config/effective_trash.rb
effective_trash-0.4.3 config/effective_trash.rb
effective_trash-0.4.2 config/effective_trash.rb
effective_trash-0.4.1 config/effective_trash.rb
effective_trash-0.4.0 config/effective_trash.rb