FEATURE #2048: another work done on permissions
This commit is contained in:
@@ -3,7 +3,7 @@ namespace Modules\Gallery\Handlers;
|
||||
|
||||
use App\CMS\Contracts\Modules\AppHandler;
|
||||
use App\CMS\Enumerations\ModulesHandlerToId;
|
||||
use App\CMS\Handlers\Handler;
|
||||
use App\CMS\Handlers\AdminHandler;
|
||||
use App\CMS\Handlers\History;
|
||||
use App\Http\Controllers\Controller;
|
||||
use App\Http\Requests\Request;
|
||||
@@ -137,7 +137,7 @@ class Gallery implements AppHandler
|
||||
*/
|
||||
public static function getExtendedFormSections()
|
||||
{
|
||||
$sections = Handler::getExtendedFormSections();
|
||||
$sections = AdminHandler::getExtendedFormSections();
|
||||
|
||||
$sections['upload'] = trans('gallery::admin/content.upload');
|
||||
|
||||
@@ -153,7 +153,7 @@ class Gallery implements AppHandler
|
||||
*/
|
||||
public static function getExtendedFormInputsCreate()
|
||||
{
|
||||
$parts = Handler::getExtendedFormInputsCreate();
|
||||
$parts = AdminHandler::getExtendedFormInputsCreate();
|
||||
$parts['upload'] = 'gallery::admin.content.newUpload';
|
||||
|
||||
return $parts;
|
||||
@@ -168,7 +168,7 @@ class Gallery implements AppHandler
|
||||
*/
|
||||
public static function getExtendedFormInputsEdit()
|
||||
{
|
||||
$parts = Handler::getExtendedFormInputsCreate();
|
||||
$parts = AdminHandler::getExtendedFormInputsCreate();
|
||||
$parts['upload'] = 'gallery::admin.content.editUpload';
|
||||
|
||||
return $parts;
|
||||
|
||||
Reference in New Issue
Block a user