<?php

// Routes for category.

// Guard routes for category
Route::prefix('{guard}/category')->group(function () {

    Route::resource('category', 'CategoryResourceController');
});



// Public routes for category
Route::get('categories/', 'CategoryPublicController@index');
Route::get('category/{slug?}', 'CategoryPublicController@show');