Skip to content

Instantly share code, notes, and snippets.

@marcamillion
Created April 20, 2011 18:38
Show Gist options
  • Save marcamillion/932271 to your computer and use it in GitHub Desktop.
Save marcamillion/932271 to your computer and use it in GitHub Desktop.
Started POST "/clients/68" for 127.0.0.1 at 2011-04-21 01:43:14 -0500
Processing by ClientsController#destroy as JS
Parameters: {"id"=>"68"}
User Load (1.6ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 LIMIT 1
nil
Completed in 150ms
<%= link_to "<span class='icon destroy-icon'> </span>".html_safe, client_path(client), :method => :delete, :confirm => "Are you sure you want to delete #{client.email}?", :remote => true %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment