Join Joseph Lowery for an in-depth discussion in this video Securing content, part of Learning Laravel 4 (2014).
Time to sew it all up.…In this last lesson we'll bring in some content…we want to restrict access to,…add the code to invoke the authentication protocols,…and tie in the custom login and logout pages…that we created in the previous lesson.…Sounds like a lot but it's actually pretty…straightforward once we get rolling.…So first, I want to bring in my content.…It's a special page that highlights…one of the artists at Roux Academy…in a preview for an upcoming show.…
So I have it all set up in the Chapter 4 04 04…folder of the exercise files.…If you open that up, yes I am here,…I'll go and I'm just going to copy it,…and then go up to my views folder and paste it in.…Now if you open it up and take a look,…you'll see it's all set up including…my href value here is in the proper format…and if you check out any of the images…you'll see that images are all doing…exactly the same thing as well.…
Now let's set up a route so we…can check it out in the browser.…I'll go to routes.php and enter in a new route.…So routecolon, colonget, and this is called spotlight,…
- Installing Laravel
- Handling testing
- Establishing an HTML view
- Connecting to a database
- Enabling version control
- Setting up-and-running unit tests
Skill Level Intermediate
1. Introduction to Laravel
2. Creating Initial Laravel Pages
3. Displaying Laravel Code
4. Creating a Laravel Application
5. Testing Your Laravel Code
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.