<commit_before><?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Auth::routes();

Route::get('/', 'HomeController@index')->name('home');

Route::get('/home', 'HomeController@index')->name('home');

Route::group(['middleware' => 'auth'], function () {

  Route::delete('/dashboard/multiple/page', 'PageController@destroyMultiple');

  Route::get('/dashboard', 'DashboardController@index');

  Route::prefix('dashboard')->group(function () {
    Route::resource('page', 'PageController');
    Route::resource('module', 'ModuleController');
  });

});<commit_msg>post put delete routes and cms pages route<commit_after><?php

use \App\Page;

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Auth::routes();

Route::get('/', 'HomeController@index')->name('home');

Route::get('/home', 'HomeController@index')->name('home');

Route::get('/{url}/{id?}', 'PageController@route');

Route::group(['middleware' => 'auth'], function () {
  Route::prefix('cms')->group(function () {

    Route::put('/multiple/content', 'ContentController@updateMultiple');

    Route::post('/multiple/page/addcontent/{pageId}', 'PageController@addContent');
    Route::post('/multiple/module/addcontent/{moduleId}', 'PageController@addContent');

    Route::delete('/multiple/page', 'PageController@destroyMultiple');
    Route::delete('/multiple/content', 'ContentController@destroyMultiple');

    Route::get('/dashboard', 'DashboardController@index');

    Route::resource('page', 'PageController');
    Route::resource('module', 'ModuleController');
    Route::resource('content', 'ContentController');
  });

});
{'fraction_non_alphanumeric': 0.2958057395143488, 'fraction_numerical': 0.0, 'mean_word_length': 2.968476357267951, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '602077', 'n_tokens_mistral': 550, 'n_tokens_neox': 550, 'n_words': 123}