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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -