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: 1 year ago
Size: 625 bytes
 

Contents

Class file image Download
<?php

//...... 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.

//...