vendredi 13 juillet 2018

Display a blade file in an iframe

I have a json file called elements that contains all the url's files I want to put in an iframe {"url":"","height":}, All the other files are html files so it's working good but now I need to fill the URL part with my blade file. The blade file contains variables provided by the controller that return the blade file. This is the route of this blade file :

Route::get('/business/{user_id}', [
    'uses' => 'BusinessController@show',
    'as' => 'business'
]);

How can I pass the URL of this blade file for this case?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire