When I try to access the /departments route and create a new department, I keep getting an error like "Non-static method ... cannot be called statically" Even though I already have:
class Department extends Illuminate\Database\Eloquent\Model
Any idea what’s going wrong?