summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Woodward2010-06-14 02:13:46 -0400
committerJason Woodward2010-06-14 02:13:46 -0400
commit07742f494f3d0fe367bac573c073ae7dcf7f657a (patch)
treeb75bbb4b087fded54005c13b356ceace76733c88
parent41d86a31c8f4a3b30d2d3010766e08affade6320 (diff)
downloadJaos-WebApp-07742f494f3d0fe367bac573c073ae7dcf7f657a.tar.gz
added alias for req->upload to ::Controller
-rw-r--r--Changes3
-rw-r--r--lib/Jaos/WebApp/Controller.pm1
2 files changed, 3 insertions, 1 deletions
diff --git a/Changes b/Changes
index 38baaa9..3678310 100644
--- a/Changes
+++ b/Changes
@@ -1,5 +1,6 @@
-0.3 June 12, 2010
+0.3 June 13, 2010
+ * added alias for req->upload to ::Controller
* encode render output
* run post post_dispatch hooks in reverse order
* added ::Render::Data
diff --git a/lib/Jaos/WebApp/Controller.pm b/lib/Jaos/WebApp/Controller.pm
index 15508e5..b3cd713 100644
--- a/lib/Jaos/WebApp/Controller.pm
+++ b/lib/Jaos/WebApp/Controller.pm
@@ -16,6 +16,7 @@ sub app { shift->{app}; }
sub stash { shift->{app}->stash; }
sub session { shift->{app}->stash->{session}; }
sub param { shift->{app}->req->param(@_); }
+sub upload { shift->{app}->req->upload(@_); }
sub url_for
{