diff options
-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.', }, ), |