projects
/
catagits/Reaction.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
79d94ae
)
fix for lack of UA
Justin Hunter [Fri, 29 Oct 2010 17:05:12 +0000 (10:05 -0700)]
lib/ComponentUI/Controller/Root.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/ComponentUI/Controller/Root.pm
b/lib/ComponentUI/Controller/Root.pm
index
bc45f33
..
4d9f1eb
100644
(file)
--- a/
lib/ComponentUI/Controller/Root.pm
+++ b/
lib/ComponentUI/Controller/Root.pm
@@
-38,7
+38,7
@@
sub root :Chained('base') :PathPart('') :Args(0) {
ViewPort, (
layout => 'index',
layout_args => {
- user_agent => $c->request->user_agent,
+ user_agent => $c->request->user_agent || '',
message_to_layout => 'I hate programming.',
},
),