Skip to content

Commit ed5a903

Browse files
authored
Merge pull request #2 from TerryKern/patch-1
Make routes forward compatible
2 parents ce71501 + bfd3e41 commit ed5a903

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/routes.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
2-
use Cake\Routing\Router;
2+
/** @var \Cake\Routing\RouteBuilder $routes */
3+
$routes->plugin('Burzum/FileStorage', function($routes) {
4+
$routes->fallbacks();
5+
});
36

4-
Router::plugin('Burzum/FileStorage', function($routes) {
5-
$routes->fallbacks();
6-
});

0 commit comments

Comments
 (0)