CodepadME / laravel-tricks

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

Question: use Illuminate\Support\Facade\Str; #17

Closed cojocaru closed 10 years ago

cojocaru commented 10 years ago

Hi again,

I have one more issue, don't know if its a bug. After a fresh install on the project, I tried to save as admin a new tag or category, and I get : Symfony \ Component \ Debug \ Exception \ FatalErrorException Class 'Illuminate\Support\Facade\Str' not found

I fixed it by changing in the Tagrepository.php from: use Illuminate\Support\Facade\Str; -> use Illuminate\Support\Str;

Not yet very advanced in all this Facades stuff but would be interesting to know why this error happened and if others also get it.

Thank you.

stidges commented 10 years ago

Oh sorry about that, pushed a fix now. Thanks for catching that!

cojocaru commented 10 years ago

Great, glad to help.