<?php

// Web routes  for vehicle.

include('routes.php');


if (Trans::isMultilingual()) {
    Route::group(
        [
            'prefix' => '{trans}',
            'where'  => ['trans' => Trans::keys('|')],
        ],
        function () {
            include('routes.php');

        }
    );
}

// Workflow routes for vehicle

Route::prefix('{guard}/vehicle')->group(function () {


    Route::get('/action/{vehicle}/{user}', 'VehicleActionController@get')
        ->name('eform.vehicle.action');
    Route::post('/action/{vehicle}/{user}', 'VehicleActionController@post');

});