From 57d9f6ba27244e28e87475acc7c470c19c1987a0 Mon Sep 17 00:00:00 2001 From: "Difrex(Denis Zheleztsov)" Date: Mon, 16 Jun 2014 10:55:47 +0400 Subject: [PATCH] Thead view fix --- iiplc.app | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/iiplc.app b/iiplc.app index b440aab..e3563fe 100644 --- a/iiplc.app +++ b/iiplc.app @@ -26,9 +26,10 @@ my $echo = sub { my $req = Plack::Request->new($env); - my $query = $req->param('echo'); + my $echo = $req->param('echo'); + my $view = $req->param('view'); - my $echo_messages = $render->echo_mes($query); + my $echo_messages = $render->echo_mes($echo, $view); return [ 200, [ 'Content-type' => 'text/html' ], ["$echo_messages"], ]; };