<?php

// Routes for product.

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

    Route::resource('product', 'ProductResourceController');
});



// Public routes for product
Route::get('products/', 'ProductPublicController@index');
Route::get('product/{slug?}', 'ProductPublicController@show');