Sha256: 7daaee489a7c7f6495d092222e5da6e8df904b09c5a1be5c3822188313ed1c6a

Contents?: true

Size: 602 Bytes

Versions: 13

Compression:

Stored size: 602 Bytes

Contents

# frozen_string_literal: true

# Copyright (c) 2008-2013 Michael Dvorkin and contributors.
#
# Fat Free CRM is freely distributable under the terms of MIT license.
# See MIT-LICENSE file or http://www.opensource.org/licenses/mit-license.php
#------------------------------------------------------------------------------
module Admin::ApplicationHelper
  #----------------------------------------------------------------------------
  def link_to_confirm_delete(model)
    link_to(t(:yes_button),
            url_for([:admin, model]),
            method:  :delete,
            remote:  true)
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
fat_free_crm-0.22.1 app/helpers/admin/application_helper.rb
fat_free_crm-0.22.0 app/helpers/admin/application_helper.rb
fat_free_crm-0.21.0 app/helpers/admin/application_helper.rb
fat_free_crm-0.20.1 app/helpers/admin/application_helper.rb
fat_free_crm-0.20.0 app/helpers/admin/application_helper.rb
fat_free_crm-0.19.2 app/helpers/admin/application_helper.rb
fat_free_crm-0.19.0 app/helpers/admin/application_helper.rb
fat_free_crm-0.18.2 app/helpers/admin/application_helper.rb
fat_free_crm-0.17.3 app/helpers/admin/application_helper.rb
fat_free_crm-0.18.1 app/helpers/admin/application_helper.rb
fat_free_crm-0.18.0 app/helpers/admin/application_helper.rb
fat_free_crm-0.17.2 app/helpers/admin/application_helper.rb
fat_free_crm-0.17.1 app/helpers/admin/application_helper.rb