Support the ongoing development of Laravel.io →

vinylrain

Joined 20 Nov 2014

Statistics

Threads 3
Replies 7
Solutions 0
Articles 0
posted 9 years ago

Cannot use date as Carbon instance

I have a datetime that I am trying to use with diffForHumans(). I added the following to my Eloquent...

0 Likes
11 Replies
posted 9 years ago

Use two routes with one being the base route

I want mysite.com/account and mysite.com/account/home to go to the same view, but I cannot seem to g...

0 Likes
3 Replies
posted 10 years ago

View Does Not Show

Hello Laravel community, I am new to Laravel and trying to get my foot in the door. It is proving to...

0 Likes
3 Replies
Solved
replied 9 years ago

Cannot use date as Carbon instance

cemleme said: can you please show your route to the show method? you can try passing id instead of...

0 Likes
replied 9 years ago

Cannot use date as Carbon instance

talevskiigor said: You need to declare due_date in array of $dates in the Eloquent model. Take a l...

0 Likes
replied 9 years ago

Cannot use date as Carbon instance

Xum said: First of all, you are passing data to a view incorrectly. See docs on views. The data ge...

0 Likes
replied 9 years ago
0 Likes
replied 9 years ago

Use two routes with one being the base route

I wanted to know if there was a solution to do it in one route.

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.