]>
Dogcows Code - chaz/p5-Catalyst-Plugin-Sitemap/blob - t/lib/TestApp/Controller/Root.pm
01a131d8dc292e3722aa57727cd32dfed2babcfc
1 package TestApp
::Controller
::Root
;
6 use parent
'Catalyst::Controller';
8 sub sitemap
: Path
('/sitemap') {
11 $c->res->body( $c->sitemap );
14 sub alone
:Path
('/alone') :Sitemap
{ }
16 sub with_priority
:Path
('/with_priority') :Sitemap
(0.75) { }
18 sub with_function
:Path
('/with_function') :Sitemap
(*) { }
20 sub with_function_sitemap
{
21 $_[2]->add( 'http://localhost/with_function' );
24 sub with_args
:Path
('/with_args')
25 :Sitemap
( lastmod
=> 2010-09-27, changefreq
=> daily
)
This page took 0.03785 seconds and 3 git commands to generate.