Add getModelName
Change-Id: I07a7e1db71eb522237721700c444d6873c81f5c0
diff --git a/script/derekovecs-server b/script/derekovecs-server
index 21d7d81..1e67011 100755
--- a/script/derekovecs-server
+++ b/script/derekovecs-server
@@ -290,6 +290,16 @@
$self->render(data => $VERSION, format=>'text');
};
+any '/getModelName' => sub {
+ my $self = shift;
+ $self->render(data => $title, format=>'text');
+};
+
+any '*/getModelName' => sub {
+ my $self = shift;
+ $self->render(data => $title, format=>'text');
+};
+
get '*/img/*' => sub {
my $c = shift;
my $url = $c->req->url;