Skip to content

Commit

Permalink
Merge pull request #8 from jnbn/master
Browse files Browse the repository at this point in the history
Update cp.php routes to have the right middleware
  • Loading branch information
simonridley authored Aug 31, 2023
2 parents c4dce88 + 2d340d1 commit f03aab8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/cp.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

Route::middleware('web')->group(function () {
Route::middleware('statamic.cp.authenticated')->group(function () {
Route::get('/simonridley/trackingcodemanager/', '\Simonridley\TrackingCodeManager\Http\Controllers\TrackingCodeManagerController@index')->name('simonridley.tracking-code-manager.index');
Route::post('/simonridley/trackingcodemanager/', '\Simonridley\TrackingCodeManager\Http\Controllers\TrackingCodeManagerController@update')->name('simonridley.tracking-code-manager.update');
});

0 comments on commit f03aab8

Please sign in to comment.