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
8 9 10 11 12 13 14 |
# File 'app/helpers/admin/application_helper.rb', line 8 def link_to_confirm_delete(model) link_to(t(:yes_button), url_for([:admin, model]), :method => :delete, :remote => true ) end |