multi-language redirect
authorDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Jan 2013 23:09:40 +0000 (00:09 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Mon, 7 Jan 2013 23:09:40 +0000 (00:09 +0100)
angular-server.pl

index f4d94b0..bfaf5a6 100755 (executable)
@@ -149,6 +149,7 @@ any [ 'post' ] => '/data/:database/:entity' => sub {
 
 
 #get '/' => sub { shift->redirect_to('/app/') };
+get '/en' => sub { shift->redirect_to('/en/index.html') };
 
 # CouchDB proxy for _design _view