mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 23:45:10 +00:00
More extensions and views. First home view is semi-complete, time to write some tests again.
This commit is contained in:
@@ -1,14 +1,4 @@
|
||||
<?php
|
||||
Route::bind('account', function ($value, $route) {
|
||||
if(Auth::user()) {
|
||||
return Auth::user()->accounts()->find($value);
|
||||
} else {
|
||||
return null;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
||||
// protected routes:
|
||||
Route::group(['before' => 'auth'], function () {
|
||||
|
||||
|
Reference in New Issue
Block a user