Module: Admin::ApplicationHelper
- Defined in:
- app/helpers/admin/application_helper.rb
Overview
Copyright © 2008-2013 Michael Dvorkin and contributors.
Fat Free CRM is freely distributable under the terms of MIT license. See MIT-LICENSE file or www.opensource.org/licenses/mit-license.php
Instance Method Summary collapse
-
#link_to_confirm_delete(model) ⇒ Object
—————————————————————————-.
Instance Method Details
#link_to_confirm_delete(model) ⇒ Object
10 11 12 13 14 15 |
# File 'app/helpers/admin/application_helper.rb', line 10 def link_to_confirm_delete(model) link_to(t(:yes_button), url_for([:admin, model]), method: :delete, remote: true) end |