{"action":"opened","number":23,"pull_request":{"url":"https://api.github.com/repos/laracasts/flash/pulls/23","id":30656324,"html_url":"https://github.com/laracasts/flash/pull/23","diff_url":"https://github.com/laracasts/flash/pull/23.diff","patch_url":"https://github.com/laracasts/flash/pull/23.patch","issue_url":"https://api.github.com/repos/laracasts/flash/issues/23","number":23,"state":"open","locked":false,"title":"Share flash_notification in views","user":{"login":"mtvs","id":8286154,"avatar_url":"https://avatars.githubusercontent.com/u/8286154?v=3","gravatar_id":"","url":"https://api.github.com/users/mtvs","html_url":"https://github.com/mtvs","followers_url":"https://api.github.com/users/mtvs/followers","following_url":"https://api.github.com/users/mtvs/following{/other_user}","gists_url":"https://api.github.com/users/mtvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mtvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtvs/subscriptions","organizations_url":"https://api.github.com/users/mtvs/orgs","repos_url":"https://api.github.com/users/mtvs/repos","events_url":"https://api.github.com/users/mtvs/events{/privacy}","received_events_url":"https://api.github.com/users/mtvs/received_events","type":"User","site_admin":false},"body":"I thought it would be better to use a simple variable inside views instead of utilizing `Session` facade.\r\n\r\n**It seems the `\\Laracasts\\Flash\\FlashServiceProvider` is just for laravel 5, so there was no way to share the variable for laravel 4.**","created_at":"2015-03-06T16:06:48Z","updated_at":"2015-03-06T16:06:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/laracasts/flash/pulls/23/commits","review_comments_url":"https://api.github.com/repos/laracasts/flash/pulls/23/comments","review_comment_url":"https://api.github.com/repos/laracasts/flash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/laracasts/flash/issues/23/comments","statuses_url":"https://api.github.com/repos/laracasts/flash/statuses/3c8f4e0840b7a5a079af63c41a80beb855a90123","head":{"label":"mtvs:share_flash_notification_in_views","ref":"share_flash_notification_in_views","sha":"3c8f4e0840b7a5a079af63c41a80beb855a90123","user":{"login":"mtvs","id":8286154,"avatar_url":"https://avatars.githubusercontent.com/u/8286154?v=3","gravatar_id":"","url":"https://api.github.com/users/mtvs","html_url":"https://github.com/mtvs","followers_url":"https://api.github.com/users/mtvs/followers","following_url":"https://api.github.com/users/mtvs/following{/other_user}","gists_url":"https://api.github.com/users/mtvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mtvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtvs/subscriptions","organizations_url":"https://api.github.com/users/mtvs/orgs","repos_url":"https://api.github.com/users/mtvs/repos","events_url":"https://api.github.com/users/mtvs/events{/privacy}","received_events_url":"https://api.github.com/users/mtvs/received_events","type":"User","site_admin":false},"repo":{"id":31770914,"name":"flash","full_name":"mtvs/flash","owner":{"login":"mtvs","id":8286154,"avatar_url":"https://avatars.githubusercontent.com/u/8286154?v=3","gravatar_id":"","url":"https://api.github.com/users/mtvs","html_url":"https://github.com/mtvs","followers_url":"https://api.github.com/users/mtvs/followers","following_url":"https://api.github.com/users/mtvs/following{/other_user}","gists_url":"https://api.github.com/users/mtvs/gists{/gist_id}","starred_url":"https://api.github.com/users/mtvs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtvs/subscriptions","organizations_url":"https://api.github.com/users/mtvs/orgs","repos_url":"https://api.github.com/users/mtvs/repos","events_url":"https://api.github.com/users/mtvs/events{/privacy}","received_events_url":"https://api.github.com/users/mtvs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtvs/flash","description":"Easy flash notifications","fork":true,"url":"https://api.github.com/repos/mtvs/flash","forks_url":"https://api.github.com/repos/mtvs/flash/forks","keys_url":"https://api.github.com/repos/mtvs/flash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtvs/flash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtvs/flash/teams","hooks_url":"https://api.github.com/repos/mtvs/flash/hooks","issue_events_url":"https://api.github.com/repos/mtvs/flash/issues/events{/number}","events_url":"https://api.github.com/repos/mtvs/flash/events","assignees_url":"https://api.github.com/repos/mtvs/flash/assignees{/user}","branches_url":"https://api.github.com/repos/mtvs/flash/branches{/branch}","tags_url":"https://api.github.com/repos/mtvs/flash/tags","blobs_url":"https://api.github.com/repos/mtvs/flash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtvs/flash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtvs/flash/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtvs/flash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtvs/flash/statuses/{sha}","languages_url":"https://api.github.com/repos/mtvs/flash/languages","stargazers_url":"https://api.github.com/repos/mtvs/flash/stargazers","contributors_url":"https://api.github.com/repos/mtvs/flash/contributors","subscribers_url":"https://api.github.com/repos/mtvs/flash/subscribers","subscription_url":"https://api.github.com/repos/mtvs/flash/subscription","commits_url":"https://api.github.com/repos/mtvs/flash/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtvs/flash/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtvs/flash/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtvs/flash/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtvs/flash/contents/{+path}","compare_url":"https://api.github.com/repos/mtvs/flash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtvs/flash/merges","archive_url":"https://api.github.com/repos/mtvs/flash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtvs/flash/downloads","issues_url":"https://api.github.com/repos/mtvs/flash/issues{/number}","pulls_url":"https://api.github.com/repos/mtvs/flash/pulls{/number}","milestones_url":"https://api.github.com/repos/mtvs/flash/milestones{/number}","notifications_url":"https://api.github.com/repos/mtvs/flash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtvs/flash/labels{/name}","releases_url":"https://api.github.com/repos/mtvs/flash/releases{/id}","created_at":"2015-03-06T13:42:12Z","updated_at":"2015-03-06T13:42:13Z","pushed_at":"2015-03-06T15:59:12Z","git_url":"git://github.com/mtvs/flash.git","ssh_url":"git@github.com:mtvs/flash.git","clone_url":"https://github.com/mtvs/flash.git","svn_url":"https://github.com/mtvs/flash","homepage":"https://packagist.org/packages/laracasts/flash","size":426,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"laracasts:master","ref":"master","sha":"a042e8126c5d986ec435f1c618cc320cca8eec66","user":{"login":"laracasts","id":5832706,"avatar_url":"https://avatars.githubusercontent.com/u/5832706?v=3","gravatar_id":"","url":"https://api.github.com/users/laracasts","html_url":"https://github.com/laracasts","followers_url":"https://api.github.com/users/laracasts/followers","following_url":"https://api.github.com/users/laracasts/following{/other_user}","gists_url":"https://api.github.com/users/laracasts/gists{/gist_id}","starred_url":"https://api.github.com/users/laracasts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laracasts/subscriptions","organizations_url":"https://api.github.com/users/laracasts/orgs","repos_url":"https://api.github.com/users/laracasts/repos","events_url":"https://api.github.com/users/laracasts/events{/privacy}","received_events_url":"https://api.github.com/users/laracasts/received_events","type":"User","site_admin":false},"repo":{"id":21339165,"name":"flash","full_name":"laracasts/flash","owner":{"login":"laracasts","id":5832706,"avatar_url":"https://avatars.githubusercontent.com/u/5832706?v=3","gravatar_id":"","url":"https://api.github.com/users/laracasts","html_url":"https://github.com/laracasts","followers_url":"https://api.github.com/users/laracasts/followers","following_url":"https://api.github.com/users/laracasts/following{/other_user}","gists_url":"https://api.github.com/users/laracasts/gists{/gist_id}","starred_url":"https://api.github.com/users/laracasts/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laracasts/subscriptions","organizations_url":"https://api.github.com/users/laracasts/orgs","repos_url":"https://api.github.com/users/laracasts/repos","events_url":"https://api.github.com/users/laracasts/events{/privacy}","received_events_url":"https://api.github.com/users/laracasts/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/laracasts/flash","description":"Easy flash notifications","fork":false,"url":"https://api.github.com/repos/laracasts/flash","forks_url":"https://api.github.com/repos/laracasts/flash/forks","keys_url":"https://api.github.com/repos/laracasts/flash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/laracasts/flash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/laracasts/flash/teams","hooks_url":"https://api.github.com/repos/laracasts/flash/hooks","issue_events_url":"https://api.github.com/repos/laracasts/flash/issues/events{/number}","events_url":"https://api.github.com/repos/laracasts/flash/events","assignees_url":"https://api.github.com/repos/laracasts/flash/assignees{/user}","branches_url":"https://api.github.com/repos/laracasts/flash/branches{/branch}","tags_url":"https://api.github.com/repos/laracasts/flash/tags","blobs_url":"https://api.github.com/repos/laracasts/flash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/laracasts/flash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/laracasts/flash/git/refs{/sha}","trees_url":"https://api.github.com/repos/laracasts/flash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/laracasts/flash/statuses/{sha}","languages_url":"https://api.github.com/repos/laracasts/flash/languages","stargazers_url":"https://api.github.com/repos/laracasts/flash/stargazers","contributors_url":"https://api.github.com/repos/laracasts/flash/contributors","subscribers_url":"https://api.github.com/repos/laracasts/flash/subscribers","subscription_url":"https://api.github.com/repos/laracasts/flash/subscription","commits_url":"https://api.github.com/repos/laracasts/flash/commits{/sha}","git_commits_url":"https://api.github.com/repos/laracasts/flash/git/commits{/sha}","comments_url":"https://api.github.com/repos/laracasts/flash/comments{/number}","issue_comment_url":"https://api.github.com/repos/laracasts/flash/issues/comments{/number}","contents_url":"https://api.github.com/repos/laracasts/flash/contents/{+path}","compare_url":"https://api.github.com/repos/laracasts/flash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/laracasts/flash/merges","archive_url":"https://api.github.com/repos/laracasts/flash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/laracasts/flash/downloads","issues_url":"https://api.github.com/repos/laracasts/flash/issues{/number}","pulls_url":"https://api.github.com/repos/laracasts/flash/pulls{/number}","milestones_url":"https://api.github.com/repos/laracasts/flash/milestones{/number}","notifications_url":"https://api.github.com/repos/laracasts/flash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/laracasts/flash/labels{/name}","releases_url":"https://api.github.com/repos/laracasts/flash/releases{/id}","created_at":"2014-06-30T04:03:54Z","updated_at":"2015-03-06T06:49:45Z","pushed_at":"2015-03-02T16:02:14Z","git_url":"git://github.com/laracasts/flash.git","ssh_url":"git@github.com:laracasts/flash.git","clone_url":"https://github.com/laracasts/flash.git","svn_url":"https://github.com/laracasts/flash","homepage":"https://packagist.org/packages/laracasts/flash","size":426,"stargazers_count":209,"watchers_count":209,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":7,"forks":41,"open_issues":7,"watchers":209,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/laracasts/flash/pulls/23"},"html":{"href":"https://github.com/laracasts/flash/pull/23"},"issue":{"href":"https://api.github.com/repos/laracasts/flash/issues/23"},"comments":{"href":"https://api.github.com/repos/laracasts/flash/issues/23/comments"},"review_comments":{"href":"https://api.github.com/repos/laracasts/flash/pulls/23/comments"},"review_comment":{"href":"https://api.github.com/repos/laracasts/flash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/laracasts/flash/pulls/23/commits"},"statuses":{"href":"https://api.github.com/repos/laracasts/flash/statuses/3c8f4e0840b7a5a079af63c41a80beb855a90123"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":46,"deletions":5,"changed_files":2}}