edited xlang model

main
A1Gard 3 months ago
parent 3840a09733
commit 9cdd51e5ff

@ -35,9 +35,10 @@ use Illuminate\Database\Eloquent\SoftDeletes;
*/
class Xlang extends Model
{
use HasFactory,SoftDeletes;
use HasFactory, SoftDeletes;
public function imgUrl(){
public function imgUrl()
{
if ($this->img == null || $this->img == '') {
return asset('/images/logo.png');
} else {

Loading…
Cancel
Save