-
-
Notifications
You must be signed in to change notification settings - Fork 856
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
issue #1123 fixed #1127
Conversation
@vijaysingh143 |
'namespace' => 'Webkul\WebForm\Http\Controllers', | ||
'middleware' => ['web'] | ||
], function () { | ||
Route::group(['middleware' => ['web', 'admin_locale']], function () { |
There was a problem hiding this comment.
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'] |
There was a problem hiding this comment.
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.
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