Fixed budget controller. [skip ci]

This commit is contained in:
James Cole
2014-07-28 21:33:32 +02:00
parent b0ddc04a0d
commit 1b919b1dab
20 changed files with 540 additions and 217 deletions

View File

@@ -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');