Skip to content

Firefly III: a personal finances manager

Forgot some routes & filters.

James Cole76cd3d35e264
diff --git a/app/config/testing/cache.php b/app/config/testing/cache.php
index 729ae3a825..fef1e78b52 100644
--- a/app/config/testing/cache.php
+++ b/app/config/testing/cache.php
@@ -1,20 +1,3 @@
<?php
-return [
-
- /*
- |--------------------------------------------------------------------------
- | Default Cache Driver
- |--------------------------------------------------------------------------
- |
- | This option controls the default cache "driver" that will be used when
- | using the Caching library. Of course, you may use other drivers any
- | time you wish. This is the default when another is not specified.
- |
- | Supported: "file", "database", "apc", "memcached", "redis", "array"
- |
- */
-
- 'driver' => 'array',
-
-];
+return ['driver' => 'array',];
diff --git a/app/config/testing/session.php b/app/config/testing/session.php
index 46bf726a27..fef1e78b52 100644
--- a/app/config/testing/session.php
+++ b/app/config/testing/session.php
@@ -1,21 +1,3 @@
<?php
-return [
-
- /*
- |--------------------------------------------------------------------------
- | Default Session Driver
- |--------------------------------------------------------------------------
- |
- | This option controls the default session "driver" that will be used on
- | requests. By default, we will use the lightweight native driver but
- | you may specify any of the other wonderful drivers provided here.
- |
- | Supported: "native", "cookie", "database", "apc",
- | "memcached", "redis", "array"
- |
- */
-
- 'driver' => 'array',
-
-];
+return ['driver' => 'array',];
diff --git a/app/filters.php b/app/filters.php
index a55467f0e3..04fb8e8e2e 100644
--- a/app/filters.php
+++ b/app/filters.php
@@ -9,6 +9,7 @@ App::before(
if (Auth::check()) {
Filter::setSessionDateRange();
Reminders::updateReminders();
+ Steam::removeEmptyBudgetLimits();
$reminders = Reminders::getReminders();
}
View::share('reminders', $reminders);
diff --git a/app/routes.php b/app/routes.php
index df84e9663e..2537d7689b 100644
--- a/app/routes.php
+++ b/app/routes.php
@@ -232,7 +232,6 @@ Route::group(
// report controller:
Route::get('/reports', ['uses' => 'ReportController@index', 'as' => 'reports.index']);
Route::get('/reports/{year}', ['uses' => 'ReportController@year', 'as' => 'reports.year']);
- Route::get('/reports/budgets/{year}/{month}', ['uses' => 'ReportController@budgets', 'as' => 'reports.budgets']);
Route::get('/reports/unbalanced/{year}/{month}', ['uses' => 'ReportController@unbalanced', 'as' => 'reports.unbalanced']);
// reminder controller