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

[FEATURE] Disable Dark Mode Route #1026

Closed
mariovillani opened this issue Dec 12, 2021 · 1 comment · Fixed by #1310
Closed

[FEATURE] Disable Dark Mode Route #1026

mariovillani opened this issue Dec 12, 2021 · 1 comment · Fixed by #1310
Labels
enhancement Improvement related to this package low-priority Low priority issue or feature

Comments

@mariovillani
Copy link

Hello,
what's the cleanest way to disable POST adminlte/darkmode/toggle route?

I don't want to use the feature in the project, so i've added

'layout_dark_mode' => null

in my adminlte.php config file but the route is still available.

@mariovillani mariovillani added the enhancement Improvement related to this package label Dec 12, 2021
@dfsmania dfsmania added the low-priority Low priority issue or feature label Dec 14, 2021
@dfsmania
Copy link
Collaborator

@mariovillani I think currently there is no way to disable loading of darkmode routes. I will review this on the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement related to this package low-priority Low priority issue or feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants