PHP Classes

File: routes/routes.php

Recommend this page to a friend!
  Classes of António Lira Fernandes   PHP CMS Website   routes/routes.php   Download  
File: routes/routes.php
Role: Auxiliary script
Content type: text/plain
Description: Auxiliary script
Class: PHP CMS Website
Content management system for publishing articles
Author: By
Last change:
Date: 9 months ago
Size: 625 bytes


Class file image Download

//...... to add on routes

//Text Articles
Route::get('/manager/articlesCategories', function(){ require _CAMINHO_ADMIN. "managerArticlesCategorie.php";});
Route::post('/manager/articlesCategories', function(){ require _CAMINHO_ADMIN. "managerArticlesCategorie.php";});
Route::get('/manager/articles', function(){ require _CAMINHO_ADMIN. "managerArticles.php";});
Route::post('/manager/articles', function(){ require _CAMINHO_ADMIN. "managerArticles.php";});
Route::get(['set' => '/articles/{cat}/list', 'as' => 'articles.seeArticlesList'], 'ControllerArticles@seeArticlesList'); //WS with Articles List.