Update docs
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace MageSail\Magesail\Controller\Adminhtml\Settings;
|
||||
|
||||
use Magento\Backend\App\Action;
|
||||
use Magento\Framework\App\Action\HttpGetActionInterface;
|
||||
use Magento\Framework\Controller\ResultInterface;
|
||||
|
||||
/**
|
||||
* Entry point from MageSail admin menu; forwards to core system config for section {@see system.xml}.
|
||||
*/
|
||||
class Index extends Action implements HttpGetActionInterface
|
||||
{
|
||||
public const ADMIN_RESOURCE = 'MageSail_Magesail::config';
|
||||
|
||||
public function execute(): ResultInterface
|
||||
{
|
||||
return $this->resultRedirectFactory->create()->setPath(
|
||||
'adminhtml/system_config/edit',
|
||||
['section' => 'magesail', '_current' => false]
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user