Some code fixes.

This commit is contained in:
James Cole
2016-09-17 09:50:40 +02:00
parent 6e33e26ddf
commit 5ca9099654
9 changed files with 29 additions and 15 deletions

View File

@@ -28,6 +28,7 @@ class ForgotPasswordController extends Controller
*/
public function __construct()
{
parent::__construct();
$this->middleware('guest');
}
}

View File

@@ -421,6 +421,7 @@ class ImportController extends Controller
{
// create proper importer (depends on job)
$type = $job->file_type;
/** @var SetupInterface $importer */
$importer = app('FireflyIII\Import\Setup\\' . ucfirst($type) . 'Setup');
$importer->setJob($job);

View File

@@ -226,7 +226,7 @@ class TagController extends Controller
$subTitle = $tag->tag;
$subTitleIcon = 'fa-tag';
// TODO move to repository.
/** @var Collection $journals */
$journals = $tag