diff options
author | Justin Hunter <justin.d.hunter@gmail.com> | 2010-10-29 10:05:12 -0700 |
---|---|---|
committer | Justin Hunter <justin.d.hunter@gmail.com> | 2010-10-29 10:05:12 -0700 |
commit | ab20681f17b8d9b6aab611a1ff1174b74425f495 (patch) | |
tree | d096a0ead750132d240617f1f379397302eda34c | |
parent | 79d94ae52cb26cea02d99e969e1df7569ef045aa (diff) | |
download | reaction-ab20681f17b8d9b6aab611a1ff1174b74425f495.tar.gz reaction-ab20681f17b8d9b6aab611a1ff1174b74425f495.zip |
fix for lack of UA
-rw-r--r-- | lib/ComponentUI/Controller/Root.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ComponentUI/Controller/Root.pm b/lib/ComponentUI/Controller/Root.pm index bc45f33..4d9f1eb 100644 --- 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.', }, ), |