mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-19 12:59:33 +00:00
Fixed budget controller. [skip ci]
This commit is contained in:
@@ -39,6 +39,7 @@ class MigrationController extends BaseController
|
||||
throw new \Firefly\Exception\FireflyException('Invalid file.');
|
||||
}
|
||||
}
|
||||
|
||||
return '<a href="' . route('index') . '">home</a>';
|
||||
}
|
||||
|
||||
@@ -67,6 +68,7 @@ class MigrationController extends BaseController
|
||||
return View::make('error')->with('message', 'Invalid JSON content.');
|
||||
}
|
||||
$this->_migration->migrate();
|
||||
|
||||
return Redirect::route('index');
|
||||
} else {
|
||||
return View::make('error')->with('message', 'No file selected');
|
||||
|
||||
Reference in New Issue
Block a user