Refactor method names/views for Articles

This commit is contained in:
Jonny Barnes 2017-02-15 18:34:47 +00:00
parent a3d1fec56d
commit e320bec899
5 changed files with 7 additions and 7 deletions

View file

@ -84,8 +84,8 @@ Route::group(['domain' => config('url.longurl')], function () {
//Blog pages using ArticlesController
Route::get('blog/s/{id}', 'ArticlesController@onlyIdInURL');
Route::get('blog/{year?}/{month?}', 'ArticlesController@showAllArticles');
Route::get('blog/{year}/{month}/{slug}', 'ArticlesController@singleArticle');
Route::get('blog/{year?}/{month?}', 'ArticlesController@index');
Route::get('blog/{year}/{month}/{slug}', 'ArticlesController@show');
//micropub new notes page
//this needs to be first so `notes/new` doesn't match `notes/{id}`