Issues (107)

src/routes/web.php (5 issues)

1
<?php
2
3
/*
4
|--------------------------------------------------------------------------
5
| Laravel Logger Web Routes
6
|--------------------------------------------------------------------------
7
|
8
*/
9
10
Route::group(['prefix' => 'activity', 'namespace' => 'jeremykenedy\LaravelLogger\App\Http\Controllers', 'middleware' => ['web', 'auth', 'activity']], function () {
0 ignored issues
show
This line exceeds maximum limit of 100 characters; contains 163 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
11
12
    // Dashboards
13
    Route::get('/', 'LaravelLoggerController@showAccessLog')->name('activity');
14
    Route::get('/cleared', ['uses' => 'LaravelLoggerController@showClearedActivityLog'])->name('cleared');
0 ignored issues
show
This line exceeds maximum limit of 100 characters; contains 106 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
15
16
    // Drill Downs
17
    Route::get('/log/{id}', 'LaravelLoggerController@showAccessLogEntry');
18
    Route::get('/cleared/log/{id}', 'LaravelLoggerController@showClearedAccessLogEntry');
19
20
    // Forms
21
    Route::delete('/clear-activity', ['uses' => 'LaravelLoggerController@clearActivityLog'])->name('clear-activity');
0 ignored issues
show
This line exceeds maximum limit of 100 characters; contains 117 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
22
    Route::delete('/destroy-activity', ['uses' => 'LaravelLoggerController@destroyActivityLog'])->name('destroy-activity');
0 ignored issues
show
This line exceeds maximum limit of 100 characters; contains 123 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
23
    Route::post('/restore-log', ['uses' => 'LaravelLoggerController@restoreClearedActivityLog'])->name('restore-activity');
0 ignored issues
show
This line exceeds maximum limit of 100 characters; contains 123 characters

Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.

Loading history...
24
});
25