From: Dobrica Pavlinusic Date: Sun, 31 Oct 2010 10:38:34 +0000 (+0100) Subject: convert cookbook index page to template X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=sidebyside;h=f740c3bbecf259f799cae7742a96ca9136d7b857;hp=7046591b4ea16878c2abe2e08c0aef40c92f45f7;p=angular-mojolicious.git convert cookbook index page to template --- diff --git a/angular-server.pl b/angular-server.pl index 6df0cbe..f90740e 100755 --- a/angular-server.pl +++ b/angular-server.pl @@ -100,6 +100,8 @@ get '/demo/:groovy' => sub { $self->render(text => $self->param('groovy'), layout => 'funky'); }; +get '/Cookbook' => 'Cookbook'; + app->start; __DATA__ diff --git a/public/Cookbook/index.html b/public/Cookbook/index.html deleted file mode 100644 index b1d197f..0000000 --- a/public/Cookbook/index.html +++ /dev/null @@ -1,28 +0,0 @@ - - - <angular/> CookBook examples - - - -

<angular/> CookBook examples

- -
-Examples from -<angular/> -Cookbook - - - -
- - - diff --git a/templates/Cookbook.html.ep b/templates/Cookbook.html.ep new file mode 100644 index 0000000..b1d197f --- /dev/null +++ b/templates/Cookbook.html.ep @@ -0,0 +1,28 @@ + + + <angular/> CookBook examples + + + +

<angular/> CookBook examples

+ +
+Examples from +<angular/> +Cookbook + + + +
+ + +