projects
/
catagits/Catalyst-Action-Serialize-Data-Serializer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
0.60 release branch
[catagits/Catalyst-Action-Serialize-Data-Serializer.git]
/
lib
/
Catalyst
/
Action
/
Serialize
/
YAML
/
HTML.pm
diff --git
a/lib/Catalyst/Action/Serialize/YAML/HTML.pm
b/lib/Catalyst/Action/Serialize/YAML/HTML.pm
index
54791b4
..
40a04f7
100644
(file)
--- a/
lib/Catalyst/Action/Serialize/YAML/HTML.pm
+++ b/
lib/Catalyst/Action/Serialize/YAML/HTML.pm
@@
-29,7
+29,7
@@
sub execute {
sub {
my($uri, $orig_uri) = @_;
my $newuri;
- if ($uri =~ /?/) {
+ if ($uri =~ /\?/) {
$newuri = $uri . "&content-type=text/html";
} else {
$newuri = $uri . "?content-type=text/html";