Commit: 29fca3f8d9f1129d0b63f85b055ede5117155fbc

Author: alkemann | Date: 2009-11-17 20:41:56 +0100
updated find filter on latest view to rawurldecode on `Paste`
diff --git a/models/Paste.php b/models/Paste.php index 9960cde..de160a1 100644 --- a/models/Paste.php +++ b/models/Paste.php @@ -95,6 +95,9 @@ class Paste extends \lithium\data\Model { Paste::createView()->save(); return null; //static::find('all', $conditions); } + foreach ($result as $paste) { + $paste->preview = rawurldecode($paste->preview); + } return $result; } else { $result = $chain->next($self, $params, $chain);