Laravel Allow Only registered users to read a html generated magazine (pdf) from FlippingBook -


in laravel want let registered user access , read html generated magazine in flipping book (it generates html/flash magazine ui), generates index.html . done route filter if view. since have generated code there way without rewriting code flipping book generated (maybe .htaccess) let registered users read magazines? , redirect not logged in main page?

flipping book example magazine (also flipping book generates whole page not modal)

any hint or appriciated thank you.

on route, add middleware option auth. redirect people when tries access route hasn't logged in.

route::get('magazine', ['uses' => 'somecontroller@somemethod', 'middleware' => 'auth']); 

Comments

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -