Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

404 - Create Comment Not Found #109

Open
ahmadfadlydziljalal opened this issue Apr 24, 2022 · 1 comment
Open

404 - Create Comment Not Found #109

ahmadfadlydziljalal opened this issue Apr 24, 2022 · 1 comment

Comments

@ahmadfadlydziljalal
Copy link

image

config\web.php

    'controllerMap' => [
        'comment' => [
            'class' => '\yii2mod\comments\controllers\ManageController',
            'accessControlConfig' => [
                'class' => 'yii\filters\AccessControl',
                'rules' => [
                    [
                        'allow' => true,
                        'roles' => ['super-admin'],
                    ],
                ],
            ]
        ],
    ],
    'modules' => [
        'comment' => [
            'class' => 'yii2mod\comments\Module',
        ],
    ],

view.php

image

rules at urlManager
image

@ahmadfadlydziljalal
Copy link
Author

#SOLVED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant