mercredi 5 décembre 2018

Laravel: how to get direct config value in blade template?

i want to get config value in blade.

config/define.php
<?php
return [
    'show' => array(1 => 'Show',0 => 'Hide' ),
];

I found a code



But i want use:



@foreach ($master as $pt)

@endforeach

But it does not work. Help me please!



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2BTdLLj
via IFTTT

Aucun commentaire:

Enregistrer un commentaire