We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Please tell me how to incorporate search function to the default theme
The text was updated successfully, but these errors were encountered:
Hello, You need to specify a search route in webed-pages config. Here is the example:
webed-pages
'public_routes' => [ 'web' => [ 'get' => [ [ '/search', [ 'as' => 'front.search.get', 'uses' => 'WebEd\Themes\NewsTV\Http\Controllers\Search\SearchController@index', ] ], [ '/{slug?}', [ 'as' => 'front.web.resolve-pages.get', 'uses' => 'WebEd\Base\Pages\Http\Controllers\Front\ResolvePagesController@handle', 'where' => [ 'slug' => '[-A-Za-z0-9]+' ] ] ] ], ], 'api' => [ ], ],
Sorry, something went wrong.
No branches or pull requests
Please tell me how to incorporate search function to the default theme
The text was updated successfully, but these errors were encountered: