Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/ts.corals.io/corals-api/Corals/modules/Utility/routes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/ts.corals.io/corals-api/Corals/modules/Utility/routes/web.php
<?php

use Illuminate\Support\Facades\Route;

Route::group(['prefix' => 'utilities'], function () {
    //gallery
    Route::group(['prefix' => 'gallery', 'as' => 'gallery.'], function () {
        Route::get('{hashed_id}', ['as' => 'list', 'uses' => 'Gallery\GalleryController@gallery']);
        Route::post('upload', ['as' => 'upload', 'uses' => 'Gallery\GalleryController@galleryUpload']);
        Route::post('{hashed_id}/upload', ['as' => 'upload', 'uses' => 'Gallery\GalleryController@galleryUpload']);
        Route::post('{media}/mark-as-featured',
            ['as' => 'mark-as-featured', 'uses' => 'Gallery\GalleryController@galleryItemFeatured']);
        Route::delete('{media}/delete', ['as' => 'delete', 'uses' => 'Gallery\GalleryController@galleryItemDelete']);
    });

    Route::group(['prefix' => 'webhooks'], function () {
        Route::post('bulk-action', 'Webhook\WebhooksController@bulkAction');
        Route::delete('{webhook}', 'Webhook\WebhooksController@destroy');
        Route::post('{event_name}', 'Webhook\WebhooksController@submitEvent');
        Route::post('{webhook}/process', 'Webhook\WebhooksController@process');
        Route::get('/', 'Webhook\WebhooksController@index');
    });


    Route::delete('wishlist/{wishlist}', 'Wishlist\WishlistBaseController@destroy');

    Route::group(['prefix' => 'address'], function () {
        Route::get('get-location-type-children', 'Address\LocationsController@getLocationTypeChildren');
        Route::post('locations/bulk-action', 'Address\LocationsController@bulkAction');
        Route::resource('locations', 'Address\LocationsController');
    });
    Route::post('tags/bulk-action', 'Tag\TagsController@bulkAction');
    Route::resource('tags', 'Tag\TagsController', ['except' => ['show']]);

    Route::post('categories/bulk-action', 'Category\CategoriesController@bulkAction');
    Route::post('attributes/bulk-action', 'Category\AttributesController@bulkAction');
    Route::resource('categories', 'Category\CategoriesController', ['except' => ['show']]);
    Route::resource('attributes', 'Category\AttributesController', ['except' => ['show']]);


    Route::post('ratings/bulk-action', 'Rating\RatingBaseController@bulkAction');
    Route::resource('ratings', 'Rating\RatingBaseController', ['except' => ['store', 'show', 'create']]);
    Route::post('ratings/{rating}/{status}', 'Rating\RatingBaseController@toggleStatus');

    Route::post('comments/bulk-action', 'Comment\CommentBaseController@bulkAction');
    Route::resource('comments', 'Comment\CommentBaseController', ['only' => ['index', 'destroy']]);
    Route::post('comments/{comment}/{status}', 'Comment\CommentBaseController@toggleStatus');

    //Common routes
    Route::get('categories/attributes/{product_id?}', 'Category\AttributesController@getCategoryAttributes');
    Route::post('newsletter/subscribe/', 'Common\PublicCommonController@subscribeNewsLetter');

    //Invite Friends
    Route::get('invite-friends', 'InviteFriends\InviteFriendsBaseController@getInviteFriendsForm');
    Route::post('invite-friends', 'InviteFriends\InviteFriendsBaseController@sendInvitation');

    Route::resource('seo-items', 'SEO\SEOItemController');

    Route::post('list-of-values/bulk-action', 'ListOfValue\ListOfValuesController@bulkAction');
    Route::get('list-of-values/get-parent-children', 'ListOfValue\ListOfValuesController@getParentChildren');
    Route::resource('list-of-values', 'ListOfValue\ListOfValuesController');

    Route::get('content-consent-settings/modal', 'ContentConsent\ContentConsentController@modal');
    Route::get('content-consent-settings', 'ContentConsent\ContentConsentController@index');
    Route::post('content-consent-settings', 'ContentConsent\ContentConsentController@setSettings');
    Route::get('content-consent-answer/{state}', 'ContentConsent\ContentConsentController@setContentConsentAnswer');

    Route::resource('guides', 'Guide\GuideController');
    Route::get('guides/get-config-guide-fields/{index}', 'Guide\GuideController@getGuideConfigFields');
});

Spamworldpro Mini