<?php

// Routes for career.

// Guard routes for profile
Route::prefix('{guard}/career')->group(function () {
    Route::resource('profile', 'ProfileResourceController');
});

// Guard routes for job_profile
Route::prefix('{guard}/career')->group(function () {
    Route::resource('job_profile', 'JobProfileResourceController');
});



// Public routes for career
Route::get('careers/', 'CareerPublicController@index');
Route::get('career/{slug?}', 'CareerPublicController@show');