Ad
When Route Url Is Same As The Package Name, It Does Not Work
I have a lot of URLs in my package routes, but one of them does not seem to work.
When the route is as follows:
Route::get('package_name', '[email protected]');
It does not work, but when it's something as below:
Route::get('something', '[email protected]');
Then it works with no problem.
Ad
Answer
The reason why I had this problem because I was publishing a folder into the public directory with the same name as the package name.
Ad
source: stackoverflow.com
Related Questions
- → "failed to open stream" error when executing "migrate:make"
- → October CMS Plugin Routes.php not registering
- → OctoberCMS Migrate Table
- → OctoberCMS Rain User plugin not working or redirecting
- → October CMS Custom Mail Layout
- → October CMS - How to correctly route
- → October CMS - Conditionally Load a Different Page
- → Make a Laravel collection into angular array (octobercms)
- → In OctoberCMS how do you find the hint path?
- → How to register middlewares in OctoberCMS plugin?
- → Validating fileupload(image Dimensions) in Backend Octobercms
- → OctoberCMS Fileupload completely destroys my backend
- → How do I call the value from another backed page form and use it on a component in OctoberCms
Ad