mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-27 18:40:39 +00:00
frontend/backend update
This commit is contained in:
+9
-1
@@ -16,6 +16,11 @@
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
// Plans
|
||||
Route::group(['middleware' => ['api'], 'prefix' => 'public'], function () {
|
||||
Route::get('/pricing', 'General\PricingController@index');
|
||||
});
|
||||
|
||||
// Public routes
|
||||
Route::group(['middleware' => ['api']], function () {
|
||||
|
||||
@@ -56,6 +61,9 @@ Route::group(['middleware' => ['auth:api', 'auth.master', 'scope:master']], func
|
||||
Route::get('/user', 'User\AccountController@user');
|
||||
Route::get('/profile', 'User\AccountController@me');
|
||||
|
||||
// Subscription
|
||||
Route::post('/upgrade', 'User\SubscriptionController@upgrade');
|
||||
|
||||
// Browse
|
||||
Route::get('/participant-uploads', 'FileBrowser\BrowseController@participant_uploads');
|
||||
Route::get('/file-detail/{unique_id}', 'FileBrowser\BrowseController@file_detail');
|
||||
@@ -109,13 +117,13 @@ Route::group(['middleware' => ['auth:api', 'auth.master', 'auth.admin', 'scope:m
|
||||
Route::get('/plans/{id}', 'Admin\PlanController@show');
|
||||
Route::post('/plans/store', 'Admin\PlanController@store');
|
||||
Route::patch('/plans/{id}/update', 'Admin\PlanController@update');
|
||||
Route::get('/plans/{id}/subscribers', 'Admin\PlanController@subscribers');
|
||||
|
||||
// Invoices
|
||||
Route::get('/invoices', 'Admin\InvoiceController@index');
|
||||
Route::get('/invoices/{token}', 'Admin\InvoiceController@show');
|
||||
});
|
||||
|
||||
|
||||
// Protected sharing routes for authenticated user
|
||||
Route::group(['middleware' => ['auth:api', 'auth.shared', 'scope:visitor,editor']], function () {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user