Source

clevelandpm / site / www / lib / ClevelandPM.pm

Diff from to

site/www/lib/ClevelandPM.pm

     });
 
     ## Route all requests to /meetings to meetings
-    $r->get('/meetings') => sub {
-      my $self = shift;
-      $self->render('meetings');
-    };
+    $r->get('/meetings')->to(template => 'meetings');
+    
+    ## Route all requests to /presentations to presentations 
+    $r->get('/presentations')->to(template => 'presentations');
+
+    ## Route all requests to /links to links 
+    $r->get('/links')->to(template => 'links');
+
 }
 
-1;
+1;