Skip to content

Commit

Permalink
Allowing for uris with "/" in
Browse files Browse the repository at this point in the history
  • Loading branch information
Neil Crookes committed Jan 14, 2014
1 parent ffc31c8 commit c1a04ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes.php
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<?php

Route::get('{slug}', 'Fbf\LaravelPages\PagesController@view');
Route::any('{slug}', 'Fbf\LaravelPages\PagesController@view')->where('slug', '([A-z\d-\/_.]+)?');

0 comments on commit c1a04ed

Please sign in to comment.