mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-26 05:26:17 +00:00
Basic export function for #2667
This commit is contained in:
@@ -563,7 +563,7 @@ try {
|
||||
'export.index',
|
||||
function (BreadcrumbsGenerator $breadcrumbs) {
|
||||
$breadcrumbs->parent('home');
|
||||
$breadcrumbs->push(trans('firefly.export_data'), route('export.index'));
|
||||
$breadcrumbs->push(trans('firefly.export_data_bc'), route('export.index'));
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
@@ -22,14 +22,3 @@
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Console Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| This file is where you may define all of your Closure based console
|
||||
| commands. Each Closure is bound to a command instance allowing a
|
||||
| simple approach to interacting with each command's IO methods.
|
||||
|
|
||||
*/
|
||||
|
||||
@@ -488,7 +488,17 @@ Route::group(
|
||||
|
||||
}
|
||||
);
|
||||
/**
|
||||
* Export controller
|
||||
*/
|
||||
Route::group(
|
||||
['middleware' => 'user-full-auth', 'namespace' => 'FireflyIII\Http\Controllers', 'prefix' => 'export', 'as' => 'export.'], static function () {
|
||||
|
||||
// index
|
||||
Route::get('', ['uses' => 'Export\IndexController@index', 'as' => 'index']);
|
||||
Route::get('export', ['uses' => 'Export\IndexController@export', 'as' => 'export']);
|
||||
|
||||
});
|
||||
/**
|
||||
* Import Controller
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user