name('dashboard'); Route::get('/logs/{name?}', 'SecureController@logs')->name('logs'); # Users Route::get('/users', 'UsersController@users')->name('users'); Route::get('/users/wizard', 'UsersController@create')->name('users.create'); Route::post('/users/wizard', 'UsersController@createSave'); Route::get('/users/profile/{id}', 'UsersController@profile')->name('users.profile'); Route::post('/users/profile/{id}', 'UsersController@profileSave'); Route::post('/users/permissions/{id}', 'UsersController@permissionsSave'); Route::get('/users/permissions/{id}', 'UsersController@permissions')->name('users.permissions'); Route::post('/users/permissions/{id}', 'UsersController@permissionsSave'); # Mailboxes Route::get('/settings/mailboxes', 'MailboxesController@mailboxes')->name('mailboxes'); Route::get('/settings/mailbox-new', 'MailboxesController@create')->name('mailboxes.create'); Route::post('/settings/mailbox-new', 'MailboxesController@createSave'); Route::get('/settings/mailbox/{id}', 'MailboxesController@update')->name('mailboxes.update'); Route::post('/settings/mailbox/{id}', 'MailboxesController@updateSave'); Route::get('/settings/permissions/{id}', 'MailboxesController@permissions')->name('mailboxes.permissions'); Route::post('/settings/permissions/{id}', 'MailboxesController@permissionsSave'); Route::get('/mailbox/{id}', 'MailboxesController@view')->name('mailboxes.view'); Route::get('/mailbox/{id}/{folder_id}', 'MailboxesController@view')->name('mailboxes.view.folder'); Route::get('/settings/connection-settings/{id}/outgoing', 'MailboxesController@connectionOutgoing')->name('mailboxes.connection'); Route::post('/settings/connection-settings/{id}/outgoing', 'MailboxesController@connectionOutgoingSave'); Route::get('/settings/connection-settings/{id}/incoming', 'MailboxesController@connectionIncoming')->name('mailboxes.connection.incoming'); Route::post('/settings/connection-settings/{id}/incoming', 'MailboxesController@connectionIncomingSave'); # Customers Route::get('/customer/{id}/edit', 'CustomersController@update')->name('customers.update'); Route::post('/customer/{id}/edit', 'CustomersController@updateSave'); Route::get('/customer/{id}/', 'CustomersController@conversations')->name('customers.conversations'); # Conversations Route::get('/conversation/{id}', 'ConversationsController@view')->name('conversations.view'); Route::post('/conversation/ajax', ['uses' => 'ConversationsController@ajax', 'laroute' => true])->name('conversations.ajax');