Commits

Anonymous committed 4b0069d

Adjust location of items.

  • Participants
  • Parent commits a9c3fd0

Comments (0)

Files changed (3)

site/www/lib/ClevelandPM.pm

     my $r = $self->routes;
 
     ## Route all requests to / to index
-    $r->get('/')->to(template => 'index', layout => 'default');
+    $r->get('/')->to(template => 'index');
 
     ## Route all requests to /meetings/[date] to the proper meeting
     $r->get('/meetings/(:dateofmeeting)' => [dateofmeeting => qr/\d+/] => sub {

site/www/templates/index.html.ep

-% layout 'layouts/default';
+% layout 'default';
 % title 'Cleveland.pm.org - Cleveland Perl Mongers';
 
 Welcome to the Cleveland Perl Mongers (PM)!

site/www/templates/meetings.html.ep

-% layout 'layouts/meetings';
+% layout 'meetings';
 % title 'Cleveland.pm.org Meetings - All';
 
 <p>Meetings</p>