CodepadME / laravel-tricks

The source code for the Laravel Tricks website
http://laravel-tricks.com
MIT License
966 stars 298 forks source link

Update TagRepository.php #60

Open mizix opened 10 years ago

mizix commented 10 years ago

I changed.

[ remove left join ] i think not need 'tricks' table. so I deleted remove leftJoin tricks.

[ select count key ] select count key 'tricks.id' => 'tag_trick.tag_id'

What do you think?