diff --git a/src/Http/Controllers/CmsController.php b/src/Http/Controllers/CmsController.php index fcb3337..b7e1eff 100644 --- a/src/Http/Controllers/CmsController.php +++ b/src/Http/Controllers/CmsController.php @@ -43,7 +43,8 @@ function anyPageView($slug = "") { ':all' => '(.*)', ':string' => '([a-zA-Z]+)', ':number' => '([0-9]+)', - ':alpha' => '([a-zA-Z0-9-_]+)' + ':alpha' => '([a-zA-Z0-9-_]+)', + ':numeric'=>'([^0-9-.]+)', ); $aliases = \Sinevia\Cms\Models\Page::pluck('Alias', 'Id')->toArray(); $aliases = array_filter($aliases, function($alias) {