Skip to content

Commit

Permalink
Merge branch 'release/5.2.4'
Browse files Browse the repository at this point in the history
* release/5.2.4:
  updated the changelog
  reverted the change on CaptureVisit
  Correction StyleCI
  Correction StyleCI
  Correction Styleci
  Rename Middleware
  Bug Adjusted
  • Loading branch information
austintoddj committed Feb 10, 2020
2 parents deada10 + 60c0801 commit c7fffaf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@

## [Unreleased](https://github.com/cnvs/canvas/compare/master...develop)

## [5.2.4](https://github.com/cnvs/canvas/compare/v5.2.3...v5.2.4) (February 10, 2020)

### Fixed
- Fix for the incorrect middleware on the route stub ([#625](https://github.com/cnvs/canvas/issues/625))

## [5.2.3](https://github.com/cnvs/canvas/compare/v5.2.2...v5.2.3) (February 9, 2020)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion resources/stubs/routes.stub
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Route::prefix('blog')->group(function () {
Route::get('/', 'BlogController@getPosts')->name('blog.index');
Route::middleware('Canvas\Http\Middleware\ViewThrottle')->get('{slug}', 'BlogController@findPostBySlug')->name('blog.post');
Route::middleware('Canvas\Http\Middleware\Session')->get('{slug}', 'BlogController@findPostBySlug')->name('blog.post');
Route::get('tag/{slug}', 'BlogController@getPostsByTag')->name('blog.tag');
Route::get('topic/{slug}', 'BlogController@getPostsByTopic')->name('blog.topic');
});

0 comments on commit c7fffaf

Please sign in to comment.