%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/conference/routes/
Upload File :
Create Path :
Current File : /var/www/html/conference/routes/web.php

<?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!
|
*/

Route::get('/','FrontEndController@Homepage')->name('homepage');
Route::get('/about-us','FrontEndController@AboutUs')->name('aboutUs');
Route::get('/galley','FrontEndController@Gallery')->name('gallery');
Route::get('/contact-us','FrontEndController@ContactUs')->name('contactUs');
Route::get('/article/details/{id}','FrontEndController@ArticleDetails')->name('article.details');
Route::get('/article/session/{id}','FrontEndController@ArticleSession')->name('article.session');
Route::get('/article/search','FrontEndController@Search')->name('article.search');
Route::group(['prefix' => 'api'], function () {
    Route::get('/authors', 'AuthorController@index')->name('api.author.index');
    Route::get('/keywords', 'KeywordController@index')->name('api.keywords.index');
    Route::get('/articles/{article}/attachAuthor/{author}', 'ArticleController@attachAuthor')
         ->name('api.articles.attachAuthor');
    Route::get('/articles/{article}/detachAuthor/{author}', 'ArticleController@detachAuthor')
         ->name('api.articles.detachAuthor');
    Route::get('/articles/{article}/attachKeyword/{keyword}', 'ArticleController@attachKeyword')
         ->name('api.articles.attachKeyword');
    Route::get('/articles/{article}/detachKeyword/{keyword}', 'ArticleController@detachKeyword')
         ->name('api.articles.detachKeyword');
});

Route::group(['prefix' => 'admin'], function () {
    Auth::routes();
    Route::get('/home', 'HomeController@index')->name('home');
    Route::get('/authors','AuthorController@showAll')->name('admin.authors.showAll');
    Route::get('/authors/{author}','AuthorController@show')->name('admin.authors.show');
    Route::post('/authors','AuthorController@store')->name('admin.authors.store');
    Route::delete('/authors/{id}','AuthorController@delete')->name('admin.authors.delete');
    Route::get('/articles', 'ArticleController@index')->name('admin.articles.index');
    Route::get('/articles/{article}', 'ArticleController@show')->name('admin.articles.show');
    Route::post('/articles', 'ArticleController@store')->name('admin.articles.store');
    Route::post('/articles/{article}', 'ArticleController@update')->name('admin.articles.update');

});

Zerion Mini Shell 1.0