Skip to content

Commit

Permalink
Improve the Content module
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyCyborg committed May 12, 2019
1 parent 797cf51 commit d089fc4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/Content/Routes/Web.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
Route::paginate('search', 'Content@search');

//
Route::paginate('{type}/{slug}', array('uses' => 'Content@taxonomy'))->where('type', Taxonomies::routePattern(false));
Route::paginate('{type}/{slug}', array('uses' => 'Content@taxonomy'))->where('type', Taxonomies::routePattern(false))->order(100);

Route::get('{slug}', array('uses' => 'Content@show'))->order(100);
Route::get('{slug}', array('uses' => 'Content@show'))->order(101);

// Content unlocking for the Password Protected pages and posts.
Route::post('content/{id}', 'Content@unlock')->where('id', '\d+');
Expand Down

0 comments on commit d089fc4

Please sign in to comment.