Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- jquery in master view:
- <pre>
- <script>
- $(".nav li a").click(function(){
- $("#content").get("{{URL::route('about')}}");
- });
- </script>
- </pre>
- route:
- <pre>
- Route::get('/about', array(
- 'as' => 'about',
- 'do' => function(){
- return View::make("about.index");
- }
- ));
- </pre>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement