From 186c640c51270f8b411369c75a1f045cde46d553 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 4 Apr 2008 15:24:15 +0000 Subject: 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. --- www/merb-has-flash/DESCR | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 www/merb-has-flash/DESCR (limited to 'www/merb-has-flash/DESCR') 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. -- cgit v1.2.3