Skip to content

Commit

Permalink
Disables automatic route correction
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnathonKoster committed Mar 19, 2021
1 parent 95478c6 commit 943f014
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/Http/Controllers/ConfigureController.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class ConfigureController extends CpController

public function index()
{
$this->attemptToCorrectRoutes();
/// $this->attemptToCorrectRoutes();

$addonsUrl = url(config('statamic.cp.route'), 'addons');
$commentsUrl = url(config('statamic.cp.route'), 'meerkat');
Expand Down
4 changes: 2 additions & 2 deletions src/Http/Controllers/DashboardController.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ class DashboardController extends CpController

public function index()
{
$this->attemptToCorrectRoutes();
//$this->attemptToCorrectRoutes();

return view('meerkat::dashboard');
}

public function dashboardWithFilter($filter)
{
$this->attemptToCorrectRoutes();
//$this->attemptToCorrectRoutes();

$validFilters = ['all', 'pending', 'published', 'spam'];

Expand Down

0 comments on commit 943f014

Please sign in to comment.