summaryrefslogtreecommitdiff
path: root/www/merb-has-flash/DESCR
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-04 15:24:15 +0000
committerjlam <jlam@pkgsrc.org>2008-04-04 15:24:15 +0000
commit186c640c51270f8b411369c75a1f045cde46d553 (patch)
tree63e993673ed27b39d3f9ae4a5c66e8a0811b26a2 /www/merb-has-flash/DESCR
parent99cae6c92237050332434ee535d0d9d6cf61f9ef (diff)
downloadpkgsrc-186c640c51270f8b411369c75a1f045cde46d553.tar.gz
Initial import of merb-has-flash-0.9.2 as www/merb-has-flash.
Merb_has_flash is a plugin for the Merb framework that provides Rails-style flash. The ``flash'' provides a way to pass temporary objects between actions. Anything you place in the flash will be exposed to the very next action and then cleared out. This is a great way of doing notices and alerts, such as a create action that sets flash[:notice] = "Successfully created" before redirecting to a display action that can then expose the flash to its template.
Diffstat (limited to 'www/merb-has-flash/DESCR')
-rw-r--r--www/merb-has-flash/DESCR12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/merb-has-flash/DESCR b/www/merb-has-flash/DESCR
new file mode 100644
index 00000000000..4c7e6347f4c
--- /dev/null
+++ b/www/merb-has-flash/DESCR
@@ -0,0 +1,12 @@
+Merb_has_flash is a plugin for the Merb framework that provides Rails-style
+flash.
+
+The ``flash'' provides a way to pass temporary objects between actions.
+Anything you place in the flash will be exposed to the very next action
+and then cleared out. This is a great way of doing notices and alerts,
+such as a create action that sets
+
+ flash[:notice] = "Successfully created"
+
+before redirecting to a display action that can then expose the flash
+to its template.