Fix tag overview.

This commit is contained in:
James Cole
2019-08-23 13:09:38 +02:00
parent e3a338db0e
commit 3b39fb93e7
5 changed files with 6 additions and 7 deletions

View File

@@ -1092,7 +1092,7 @@ try {
$title = limitStringLength($group->title);
}
if('opening balance' === $type) {
$breadcrumbs->push($title, route('transactions.show', [$group->id]));
return;
}

View File

@@ -857,8 +857,8 @@ Route::group(
Route::get('', ['uses' => 'TagController@index', 'as' => 'index']);
Route::get('create', ['uses' => 'TagController@create', 'as' => 'create']);
Route::get('show/{tag}/all', ['uses' => 'TagController@showAll', 'as' => 'show.all']);
Route::get('show/{tag}/{start_date?}/{end_date?}', ['uses' => 'TagController@show', 'as' => 'show']);
Route::get('show/{tagOrId}/all', ['uses' => 'TagController@showAll', 'as' => 'show.all']);
Route::get('show/{tagOrId}/{start_date?}/{end_date?}', ['uses' => 'TagController@show', 'as' => 'show']);
Route::get('edit/{tag}', ['uses' => 'TagController@edit', 'as' => 'edit']);
Route::get('delete/{tag}', ['uses' => 'TagController@delete', 'as' => 'delete']);