README.md in glow-0.0.14 vs README.md in glow-0.0.15

- old
+ new

@@ -1,9 +1,9 @@ # Glow Glowing flashes! Okay... not really. This simply adds handling of the -Fash Hash in Javascript. Depends on jQuery. +Flash Hash in Javascript. Depends on jQuery. ## Usage Any flash messages set in ajax responses fire a `glow:flash` event on `document`. @@ -33,14 +33,14 @@ Flash.fire('type', 'message'); This can be used to unify your Flash message handling (also in non-xhr responses). - <% flash.each |type, message| %> + <% flash.each do |type, message| %> <%= javascript_tag "Flash.fire('#{type}', '#{message}')" %> <% end %> -If you want to skip the glow after_filter just set `flash[:skip_glow]`. +If you want to skip the glow after_action just set `flash[:skip_glow]`. You can also use glow with APIs by using `headerize_flash_for` and passing in the request formats you want the flash messages passed back.