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
Per twitter discussion with @msurguy, these should be extracted into a repository:
UserTricksController lines 150-152:
$trick->tags()->detach(); $trick->categories()->detach(); $trick->delete();
TricksController line 80:
$voted = $trick->votes()->whereUserId($user->id)->first();
TricksController line 84:
$user = $trick->votes()->attach($user->id, [ 'created_at' => new \DateTime, 'updated_at' => new \DateTime ]);
TricksController line 91:
$trick->votes()->detach($voted->id);
TricksController line 95:
$trick->save();
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Per twitter discussion with @msurguy, these should be extracted into a repository:
UserTricksController lines 150-152:
TricksController line 80:
TricksController line 84:
TricksController line 91:
TricksController line 95:
The text was updated successfully, but these errors were encountered: