mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Clean up commands.
This commit is contained in:
		| @@ -27,6 +27,7 @@ namespace FireflyIII\Http\Controllers\ExchangeRates; | ||||
| use FireflyIII\Http\Controllers\Controller; | ||||
| use FireflyIII\Models\TransactionCurrency; | ||||
| use Illuminate\View\View; | ||||
| use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; | ||||
| 
 | ||||
| class IndexController extends Controller | ||||
| { | ||||
| @@ -46,6 +47,9 @@ class IndexController extends Controller | ||||
|                 return $next($request); | ||||
|             } | ||||
|         ); | ||||
|         if(!config('cer.enabled'))  { | ||||
|             throw new NotFoundHttpException(); | ||||
|         } | ||||
|     } | ||||
| 
 | ||||
|     public function index(): View | ||||
|   | ||||
		Reference in New Issue
	
	Block a user