[Rails] :confirm dont work
hi
i have a link in a view to delete a user:
<td><%= link_to 'Destroy', {:controller => :users, :action
=> :destroy, :id => user}, :confirm => 'are you sure !' %></td>
all works good,when i click to delete user its ok, just i dont have
the alert 'are you sure !'
i dont know why!
please can you help me.
thanks
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home