mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Expanded on categories.
This commit is contained in:
@@ -78,7 +78,14 @@ class CategoryController extends BaseController
|
||||
*/
|
||||
public function show(Category $category)
|
||||
{
|
||||
return View::make('categories.show', compact('category'));
|
||||
$hideCategory = true;
|
||||
|
||||
/** @var \FireflyIII\Database\Category $repos */
|
||||
$repos = App::make('FireflyIII\Database\Category');
|
||||
|
||||
$journals = $repos->getTransactionJournals($category, 50);
|
||||
|
||||
return View::make('categories.show', compact('category','journals','hideCategory'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user