Skip to content

Commit

Permalink
Fix instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
vaibhavpandeyvpz committed Jun 21, 2022
1 parent 08d478f commit dd9c48a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ Then add the `LocksVersion` trait your model classes as follows:
namespace App\Models;

use Illuminate\Foundation\Auth\User as Authenticatable;
use Quarks\Laravel\Auditors\HasAuditors;
use Quarks\Laravel\Locking\LocksVersion;

class BlogPost extends Authenticatable
{
Expand Down Expand Up @@ -78,6 +78,9 @@ use Quarks\Laravel\Locking\LockedVersionMismatchException;

class BlogPostController extends Controller
{

// ... more methods

public function update(BlogPost $blogPost, BlogPostRequest $request)
{
$data = $request->validated();
Expand Down

0 comments on commit dd9c48a

Please sign in to comment.