twitter-bootstrap-rails-confirm 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +5 -1
- data/lib/twitter-bootstrap-rails-confirm/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -25,7 +25,11 @@ Or install it yourself as:
|
|
25
25
|
|
26
26
|
## Usage
|
27
27
|
|
28
|
-
|
28
|
+
Add it to your application.js:
|
29
|
+
|
30
|
+
//= require twitter/bootstrap/rails/confirm
|
31
|
+
|
32
|
+
Next... nothing. There is nothing you need to do to get this working. A helper could be useful for handling large amount of destroy buttons:
|
29
33
|
|
30
34
|
def destroy_link_to(path, options)
|
31
35
|
link_to t('.destroy'), path,
|