/
var
/
www
/
html
/
zohocrmnav
/
routes
/
Upload File
HOME
<?php /* |-------------------------------------------------------------------------- | Web Routes |-------------------------------------------------------------------------- | | Here is where you can register web routes for your application. These | routes are loaded by the RouteServiceProvider within a group which | contains the "web" middleware group. Now create something great! | */ Route::get('/ZohoCRMNAV', function () { redirect()->route('login'); }); Route::prefix('ZohoCRMNAV')->group(function() { Route::get('/authorize', 'ZohoNAVController@authorizeIntegration'); Route::get('/authorize-callback', 'ZohoNAVController@authorizeCallback'); Route::get('/get_nav_view/{identifier}', array('as' => 'get_nav_view', 'uses' => 'ZohoNAVController@get_nav_view')); Route::get('/get_nav_alldata', array('as' => 'get_nav_alldata', 'uses' => 'ZohoNAVController@get_nav_alldata')); Route::get('/import_data', array('as' => 'import_data', 'uses' => 'ZohoNAVController@import_data')); Route::get('/get_nav/{identifier}', array('as' => 'get_nav', 'uses' => 'ZohoNAVController@get_nav_data')); Route::get('/logs', array('as' => 'logs', 'uses' => '\Rap2hpoutre\LaravelLogViewer\LogViewerController@index')); Route::get('/get_zoho_webhook', array('as' => 'get_zoho_webhook', 'uses' => 'ZohoNAVController@get_zoho_webhook')); Route::get('/get_zoho_webhook_quotesync', array('as' => 'get_zoho_webhook_quotesync', 'uses' => 'ZohoNAVController@get_zoho_webhook_quotesync')); Route::get('/run_zoho_webhook', array('as' => 'run_zoho_webhook', 'uses' => 'ZohoNAVController@run_zoho_webhook')); Route::get('/cache-clear', function () { \Illuminate\Support\Facades\Artisan::call("config:cache"); return "Cleared"; }); Auth::routes([ 'register' => false, // Registration Routes... 'reset' => false, // Password Reset Routes... 'verify' => false, // Email Verification Routes... ]); Route::get('/home', 'ZohoNAVController@index')->name('home'); });