Permalink
Browse files

Update README.md

  • Loading branch information...
ncri committed Sep 29, 2012
1 parent 5b6a518 commit 0a57a6465706a24e220c1b7bcb8af39a9719729f
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -92,19 +92,19 @@ By default, only `flash[:notice]` is supported. If you are using for example `fl
Ajaxify.flash_types = ['notice', 'warning']
-Also make sure that you supply invisible wrapper tags in your layout with the flash type as its id, e.g.:
+Also make sure that you supply invisible wrapper tags in your layout for each flash type you use, with the id set to the type, e.g.:
#notice{ style: "#{'display:none' unless flash[:notice]}" }
= flash[:notice]
-### Links that need to trigger full Page Reloads
+### Links or Forms that need to trigger full Page Reloads
We all know them. Those big requests changing the layout of the page so significantly that
loading ajax into a content area and doing some minor layout tweaks here and there simply doesn't cut it. Sigh.
There might also be links and forms which already have their own ajax functionality.
-To turn Ajaxify off for certain links and forms, simply add the class `no_ajaxify` directly to the link or form:
+Well, to turn Ajaxify off for certain links and forms, simply add the class `no_ajaxify` directly to the link or form:
= link_to 'Change everything!', re_render_it_all_path, class: 'no_ajaxify'

0 comments on commit 0a57a64

Please sign in to comment.