{"action":"opened","issue":{"url":"https://api.github.com/repos/kadeprice/laravel.local-classifieds/issues/15","labels_url":"https://api.github.com/repos/kadeprice/laravel.local-classifieds/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/kadeprice/laravel.local-classifieds/issues/15/comments","events_url":"https://api.github.com/repos/kadeprice/laravel.local-classifieds/issues/15/events","html_url":"https://github.com/kadeprice/laravel.local-classifieds/issues/15","id":57635429,"number":15,"title":"Create a basic route","user":{"login":"kadeprice","id":8138359,"avatar_url":"https://avatars.githubusercontent.com/u/8138359?v=3","gravatar_id":"","url":"https://api.github.com/users/kadeprice","html_url":"https://github.com/kadeprice","followers_url":"https://api.github.com/users/kadeprice/followers","following_url":"https://api.github.com/users/kadeprice/following{/other_user}","gists_url":"https://api.github.com/users/kadeprice/gists{/gist_id}","starred_url":"https://api.github.com/users/kadeprice/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kadeprice/subscriptions","organizations_url":"https://api.github.com/users/kadeprice/orgs","repos_url":"https://api.github.com/users/kadeprice/repos","events_url":"https://api.github.com/users/kadeprice/events{/privacy}","received_events_url":"https://api.github.com/users/kadeprice/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"techwebb","id":10994978,"avatar_url":"https://avatars.githubusercontent.com/u/10994978?v=3","gravatar_id":"","url":"https://api.github.com/users/techwebb","html_url":"https://github.com/techwebb","followers_url":"https://api.github.com/users/techwebb/followers","following_url":"https://api.github.com/users/techwebb/following{/other_user}","gists_url":"https://api.github.com/users/techwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/techwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/techwebb/subscriptions","organizations_url":"https://api.github.com/users/techwebb/orgs","repos_url":"https://api.github.com/users/techwebb/repos","events_url":"https://api.github.com/users/techwebb/events{/privacy}","received_events_url":"https://api.github.com/users/techwebb/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-02-13T18:28:03Z","updated_at":"2015-02-13T18:28:03Z","closed_at":null,"body":"Create a basic route in the routes.php file. Have it point to a file in the apps/views folder. Make that file a blade template file. test.blade.php\r\nexample: \r\nRoute::get('test', function()\r\n{\r\n\treturn View::make('test');\r\n});\r\n\r\n Use the blade template to make the file. You can include the default layout or just create your own. \r\n\r\nWhen you have a template working and navigation works. Then pass it a variable. \r\n\r\nThis is not the best way to do it but it will show you how it works. \r\nRoute::get('test', function()\r\n{\r\n        $foo = 'bar';\r\n\treturn View::make('test')->withFoo($foo);\r\n});\r\n\r\nin the test.blade.php to output the $foo use {{ $foo }} and it will be output. \r\n\r\nYou can look at the home.blade.php to see how to use layouts. The views\\layouts folder will have the default layout in it. \r\n\r\n"}}