- https://speakerdeck.com/willroth/50-laravel-tricks-in-50-minutes
- https://www.reddit.com/r/laravel/comments/3to60i/50_laravel_tricks/
- 1. Automatic Model Validation
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
root /home/ubuntu/project/public; | |
index index.php index.html; | |
server_name _; |