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

issue #1123 fixed #1127

Merged
merged 2 commits into from
Jun 18, 2024
Merged

issue #1123 fixed #1127

merged 2 commits into from
Jun 18, 2024

Conversation

vijaysingh-webkul
Copy link

We have fixed the issue when the admin is clicking on the web form inside the settings, then the app locale is automatically changing to English.
path: packages/Webkul/WebForm/src/Http/routes.php line no. 2

@Sanjaybhattwebkul
Copy link
Contributor

@vijaysingh143
This is working fine, please find the screenshot Here
Thanks for your contribution

'namespace' => 'Webkul\WebForm\Http\Controllers',
'middleware' => ['web']
], function () {
Route::group(['middleware' => ['web', 'admin_locale']], function () {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add new line.

Route::group([
'prefix' => 'admin/web-forms',
'namespace' => 'Webkul\WebForm\Http\Controllers',
'middleware' => ['web']
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

admin_locale can be added here also instead of one more wrapping.

@suraj-webkul suraj-webkul self-assigned this Jun 13, 2024
@devansh-webkul devansh-webkul merged commit e449e8a into krayin:master Jun 18, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

4 participants