Comments (3)
In routes.php you should update your urls
From
Route::get('/edit_post_toggle/{blogPostId}',
'BinshopsAdminController@edit_post_toggle')
->name('binshopsblog.admin.edit_post_toggle');
Route::patch('/edit_post/{blogPostId}',
'BinshopsAdminController@update_post')
->name('binshopsblog.admin.update_post');
To
Route::post('/edit_post_toggle/{blogPostId}',
'BinshopsAdminController@edit_post_toggle')
->name('binshopsblog.admin.edit_post_toggle');
Route::post('/edit_post/{blogPostId}',
'BinshopsAdminController@update_post')
->name('binshopsblog.admin.update_post');
And then in edit_post.blade.php
remove @method("patch")
And update this jquery line
Just these two updates nothing else all the things will work normally no need for major changes.
Hopefully you will understand the problem and resolve it asap.
from laravel-blog.
@usman-xs4arabia-dev thanks for reporting. We will have an update soon.
from laravel-blog.
thanks for your contribution.
PR merged: #65
from laravel-blog.
Related Issues (20)
- Error viewing blog post: Call to a member function diffForHumans() on string HOT 1
- How can I add Pagination in blogs
- Undefined variable. HOT 2
- How can I remove uploaded media If I want ?
- 401 error when commenting as a normal user
- Fulltext Search - search throughout all blog posts HOT 1
- Need more instructions how to use.
- Error when searching blog
- Using External Storage for file Upload HOT 2
- fulltext error HOT 1
- Undefined variable $noLocaleRoute HOT 4
- Attempt to read property "locale" on null HOT 4
- Unauthorized on binshops/laravel-blog urls HOT 1
- Laravel 9.X migrate gives issues
- Maybe it is a bug on relation language in model BinshopsCategoryTranslation?
- Not showing cats and posts in Russian HOT 4
- Support for Laravel 10x HOT 2
- Feature Request: automatically add blog posts to sitemap.xml HOT 3
- Default package language HOT 1
- binshopsblog : blog_admin is returning 401 Unauthorized HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from laravel-blog.