Skip to content

Commit

Permalink
#47: Use subdirectories for template files to aid organization.
Browse files Browse the repository at this point in the history
  • Loading branch information
adamfranco committed Oct 2, 2024
1 parent 77e1356 commit df1de2c
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Controller/Catalogs.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ public function listAction()
"description" => $catalog->getDescription(),
];
}
return $this->render('catalogs.html.twig', [
return $this->render('catalogs/list.html.twig', [
'title' => 'Available Catalogs',
'catalogs' => $catalogData,
]);
Expand Down
2 changes: 1 addition & 1 deletion src/Controller/Offerings.php
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ public function viewAction($id)

$data['menuIsOfferings'] = true;

return $this->render('offering.html.twig', $data);
return $this->render('offerings/view.html.twig', $data);
}

protected function viewBase($idString)
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit df1de2c

Please sign in to comment.