Show the view for transactions without a category.

This commit is contained in:
James Cole 2015-01-19 06:33:30 +01:00
parent 1b685da3e3
commit 8eb84acf4f
2 changed files with 6 additions and 1 deletions

View File

@ -204,7 +204,7 @@ Route::group(
Route::get('/categories/edit/{category}', ['uses' => 'CategoryController@edit', 'as' => 'categories.edit']);
Route::get('/categories/delete/{category}', ['uses' => 'CategoryController@delete', 'as' => 'categories.delete']);
Route::get('/categories/show/{category}', ['uses' => 'CategoryController@show', 'as' => 'categories.show']);
Route::get('/categories/list/noCategory', ['uses' => 'CategoryController@noCategory', 'as' => 'categories.noBudget']);
Route::get('/categories/list/noCategory', ['uses' => 'CategoryController@noCategory', 'as' => 'categories.noCategory']);
// currency controller
Route::get('/currency', ['uses' => 'CurrencyController@index', 'as' => 'currency.index']);

View File

@ -4,6 +4,11 @@
<th>Name</th>
<th>Last activity</th>
</tr>
<tr>
<td>&nbsp;</td>
<td><a href="{{route('categories.noCategory')}}"><em>Without a category</em></a></td>
<td>&nbsp;</td>
</tr>
@foreach($categories as $category)
<tr>
<td>