[Jifty-commit] r2650 - in jifty/trunk: lib/Jifty/Plugin
lib/Jifty/Plugin/REST
jifty-commit at lists.jifty.org
jifty-commit at lists.jifty.org
Sat Jan 27 03:44:42 EST 2007
Author: trs
Date: Sat Jan 27 03:44:42 2007
New Revision: 2650
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/REST.pm
jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
Log:
r19162 at zot: tom | 2007-01-27 03:44:14 -0500
* Silence warning
* Add a small bit of doc
Modified: jifty/trunk/lib/Jifty/Plugin/REST.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/REST.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/REST.pm Sat Jan 27 03:44:42 2007
@@ -21,7 +21,9 @@
framework:
Plugins:
- REST: {}
-
+
+See the URL /=/help in your Jifty app for more information about
+how to access the RESTian resources.
=cut
1;
Modified: jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm Sat Jan 27 03:44:42 2007
@@ -161,7 +161,10 @@
$apache->send_http_header;
# Special case showing particular actions to show an HTML form
- if ( $prefix->[0] eq 'action' and scalar @$prefix == 2 ) {
+ if ( defined $prefix
+ and $prefix->[0] eq 'action'
+ and scalar @$prefix == 2 )
+ {
show_action_form($1);
}
else {
More information about the Jifty-commit
mailing list