Skip to content

Commit

Permalink
Update CmsController.php
Browse files Browse the repository at this point in the history
  • Loading branch information
Sinevia authored May 20, 2018
1 parent b82df19 commit e64bac2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Http/Controllers/CmsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit e64bac2

Please sign in to comment.