• Jesse O'Brien's avatar
    Change update function so it uses timestamp like save · 1be274ca
    Jesse O'Brien authored
    Calling update() on an eloquent model has no way of overriding
    the timestamp that should be set if $timestamps is set on the
    model. This changes that so it uses the timestamp() function
    which is an easy way to over ride the type of timestamps used.
    1be274ca
model.php 17.9 KB