<commit_before><?php

/**
 * Current LAN
 */
Route::get('/', 'CurrentLanController@show')
    ->name('home');
Route::get('/guides', 'CurrentLanController@guides')
    ->name('guides');
Route::get('/events', 'CurrentLanController@events')
    ->name('events');
Route::get('/schedule', 'CurrentLanController@schedule')
    ->name('schedule');
Route::get('/users', 'CurrentLanController@users')
    ->name('users');
Route::get('/user-achievements', 'CurrentLanController@userAchievements')
    ->name('users');

/**
 * Login
 */
Route::get('login', 'AuthController@showLoginForm')
    ->middleware(['guest'])
    ->name('login');

Route::get('auth/{provider}', 'AuthController@redirectToProvider')
    ->middleware(['guest'])
    ->name('auth');

Route::get('auth/{provider}/callback', 'AuthController@handleProviderCallback')
    ->middleware(['guest'])
    ->name('auth.callback');

/**
 * Logout
 */
Route::post('logout', 'AuthController@logout')
    ->middleware(['auth'])
    ->name('logout');

/**
 * Roles & Role Assignments
 */
Route::resource('role-assignments', 'RoleAssignmentController', ['except' => ['show', 'edit', 'update']]);

/**
 * Logs
 */
Route::resource('logs', 'LogController', ['only' => ['index', 'show']]);
Route::patch('logs', 'LogController@patch')
    ->name('logs.patch');

/**
 * Games
 */
Route::get('/games/in-progress', 'GameController@inProgress')
    ->name('games.in-progress');
Route::get('/games/recent', 'GameController@recent')
    ->name('games.recent');
Route::get('/games/owned', 'GameController@owned')
    ->name('games.owned');

/**
 * LANs
 */
Route::resource('lans', 'LanController');

/**
 * Guides
 */
Route::resource('lans.guides', 'GuideController', ['except' => 'show']);
Route::get('lans/{lan}/guides/{guide}/{slug?}', 'GuideController@show')
    ->name('lans.guides.show');

/**
 * Events & Event Types
 */
Route::resource('lans.events', 'EventController');
Route::resource('lans.events.signups', 'EventSignupController', ['only' => ['store', 'destroy']]);
Route::resource('event-types', 'EventTypeController');

/**
 * Users & Attendees
 */
Route::resource('users', 'UserController', ['only' => ['show', 'destroy']]);
Route::resource('lans.attendees', 'AttendeeController', ['only' => ['index']]);

/**
 * Achievements
 */
Route::resource('achievements', 'AchievementController');
Route::resource('lans.user-achievements', 'UserAchievementController', ['except' => ['show', 'edit', 'update']]);

/**
 * Navigation Links
 */
Route::resource('navigation-links', 'NavigationLinkController', ['except' => 'show']);

/**
 * Dashboard
 */
Route::get('/dashboard', function () {
    return view('pages.dashboard.index');
})->name('dashboard');

Route::fallback(function () {
    return view('errors.404');
})->name('fallback');

/**
 * Images
 */
Route::resource('images', 'ImageController', ['only' => ['index', 'store', 'edit', 'update', 'destroy']]);

/**
 * Venues
 */
Route::resource('venues', 'VenueController');

/**
 * Slides
 */
Route::resource('lans.slides', 'SlideController');<commit_msg>Move 404 route to bottom of routes/web.php<commit_after><?php

/**
 * Current LAN
 */
Route::get('/', 'CurrentLanController@show')
    ->name('home');
Route::get('/guides', 'CurrentLanController@guides')
    ->name('guides');
Route::get('/events', 'CurrentLanController@events')
    ->name('events');
Route::get('/schedule', 'CurrentLanController@schedule')
    ->name('schedule');
Route::get('/users', 'CurrentLanController@users')
    ->name('users');
Route::get('/user-achievements', 'CurrentLanController@userAchievements')
    ->name('users');

/**
 * Login
 */
Route::get('login', 'AuthController@showLoginForm')
    ->middleware(['guest'])
    ->name('login');

Route::get('auth/{provider}', 'AuthController@redirectToProvider')
    ->middleware(['guest'])
    ->name('auth');

Route::get('auth/{provider}/callback', 'AuthController@handleProviderCallback')
    ->middleware(['guest'])
    ->name('auth.callback');

/**
 * Logout
 */
Route::post('logout', 'AuthController@logout')
    ->middleware(['auth'])
    ->name('logout');

/**
 * Roles & Role Assignments
 */
Route::resource('role-assignments', 'RoleAssignmentController', ['except' => ['show', 'edit', 'update']]);

/**
 * Logs
 */
Route::resource('logs', 'LogController', ['only' => ['index', 'show']]);
Route::patch('logs', 'LogController@patch')
    ->name('logs.patch');

/**
 * Games
 */
Route::get('/games/in-progress', 'GameController@inProgress')
    ->name('games.in-progress');
Route::get('/games/recent', 'GameController@recent')
    ->name('games.recent');
Route::get('/games/owned', 'GameController@owned')
    ->name('games.owned');

/**
 * LANs
 */
Route::resource('lans', 'LanController');

/**
 * Guides
 */
Route::resource('lans.guides', 'GuideController', ['except' => 'show']);
Route::get('lans/{lan}/guides/{guide}/{slug?}', 'GuideController@show')
    ->name('lans.guides.show');

/**
 * Events & Event Types
 */
Route::resource('lans.events', 'EventController');
Route::resource('lans.events.signups', 'EventSignupController', ['only' => ['store', 'destroy']]);
Route::resource('event-types', 'EventTypeController');

/**
 * Users & Attendees
 */
Route::resource('users', 'UserController', ['only' => ['show', 'destroy']]);
Route::resource('lans.attendees', 'AttendeeController', ['only' => ['index']]);

/**
 * Achievements
 */
Route::resource('achievements', 'AchievementController');
Route::resource('lans.user-achievements', 'UserAchievementController', ['except' => ['show', 'edit', 'update']]);

/**
 * Navigation Links
 */
Route::resource('navigation-links', 'NavigationLinkController', ['except' => 'show']);

/**
 * Dashboard
 */
Route::get('/dashboard', function () {
    return view('pages.dashboard.index');
})->name('dashboard');

/**
 * Images
 */
Route::resource('images', 'ImageController', ['only' => ['index', 'store', 'edit', 'update', 'destroy']]);

/**
 * Venues
 */
Route::resource('venues', 'VenueController');

/**
 * Slides
 */
Route::resource('lans.slides', 'SlideController');

Route::fallback(function () {
    return view('errors.404');
})->name('fallback');
{'fraction_non_alphanumeric': 0.2508574228319451, 'fraction_numerical': 0.0014698677119059284, 'mean_word_length': 5.951191827468786, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7340952', 'n_tokens_mistral': 1956, 'n_tokens_neox': 1930, 'n_words': 287}