[Jifty-commit] r6663 - in jifty/trunk: lib/Jifty/Plugin/REST

Jifty commits jifty-commit at lists.jifty.org
Wed Mar 18 15:34:04 EDT 2009


Author: sartak
Date: Wed Mar 18 15:34:04 2009
New Revision: 6663

Modified:
   jifty/trunk/   (props changed)
   jifty/trunk/lib/Jifty/Plugin/REST/Dispatcher.pm

Log:
 r81392 at onn:  sartak | 2009-03-18 15:33:58 -0400
 Marginally better title for each page


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	Wed Mar 18 15:34:04 2009
@@ -328,7 +328,7 @@
     my $url = shift;
     my $content = shift;
     if (ref($content) eq 'ARRAY') {
-        return start_html(-encoding => 'UTF-8', -declare_xml => 1, -title => 'models'),
+        return start_html(-encoding => 'UTF-8', -declare_xml => 1, -title => 'REST API'),
               ul(map {
                   li($prefix ?
                      a({-href => "$url/".Jifty::Web->escape_uri($_)}, Jifty::Web->escape($_))
@@ -337,7 +337,7 @@
               end_html();
     }
     elsif (ref($content) eq 'HASH') {
-        return start_html(-encoding => 'UTF-8', -declare_xml => 1, -title => 'models'),
+        return start_html(-encoding => 'UTF-8', -declare_xml => 1, -title => 'REST API'),
               dl(map {
                   dt($prefix ?
                      a({-href => "$url/".Jifty::Web->escape_uri($_)}, Jifty::Web->escape($_))
@@ -347,7 +347,7 @@
               end_html();
     }
     else {
-        return start_html(-encoding => 'UTF-8', -declare_xml => 1, -title => 'models'),
+        return start_html(-encoding => 'UTF-8', -declare_xml => 1, -title => 'REST API'),
               Jifty::Web->escape($content),
               end_html();
     }


More information about the Jifty-commit mailing list