{"action":"created","issue":{"url":"https://api.github.com/repos/uxweb/sweet-alert/issues/22","repository_url":"https://api.github.com/repos/uxweb/sweet-alert","labels_url":"https://api.github.com/repos/uxweb/sweet-alert/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/uxweb/sweet-alert/issues/22/comments","events_url":"https://api.github.com/repos/uxweb/sweet-alert/issues/22/events","html_url":"https://github.com/uxweb/sweet-alert/issues/22","id":154823520,"number":22,"title":"Facade Alert not found","user":{"login":"NumericFactory","id":5172847,"avatar_url":"https://avatars.githubusercontent.com/u/5172847?v=3","gravatar_id":"","url":"https://api.github.com/users/NumericFactory","html_url":"https://github.com/NumericFactory","followers_url":"https://api.github.com/users/NumericFactory/followers","following_url":"https://api.github.com/users/NumericFactory/following{/other_user}","gists_url":"https://api.github.com/users/NumericFactory/gists{/gist_id}","starred_url":"https://api.github.com/users/NumericFactory/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NumericFactory/subscriptions","organizations_url":"https://api.github.com/users/NumericFactory/orgs","repos_url":"https://api.github.com/users/NumericFactory/repos","events_url":"https://api.github.com/users/NumericFactory/events{/privacy}","received_events_url":"https://api.github.com/users/NumericFactory/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-05-14T00:26:34Z","updated_at":"2016-05-22T11:11:46Z","closed_at":null,"body":"On Laravel 5.2\r\nFirst, I installed sweet-alert via composer and add line to providers and aliases in config/app.php\r\nAnd, I do this in my controller : \r\n`  public function update($id, Request $request) {\r\n    $place = Place::findOrfail($id);\r\n    $place->update($request->all());\r\n    $place->activities()->sync($request->get('activities'));\r\n    // \\Session::flash('flash_message', 'success !');\r\n     Alert::message('success !');\r\n    return redirect(route('places.edit', $id));\r\n  }`\r\n\r\nAnd i have this result :\r\nFatalErrorException in PlacesController.php line 61: Class 'App\\Http\\Controllers\\Alert' not found\r\n\r\nCan you help me please ?\r\n\r\nThx, Fred"},"comment":{"url":"https://api.github.com/repos/uxweb/sweet-alert/issues/comments/220826754","html_url":"https://github.com/uxweb/sweet-alert/issues/22#issuecomment-220826754","issue_url":"https://api.github.com/repos/uxweb/sweet-alert/issues/22","id":220826754,"user":{"login":"djsigfried56","id":1375528,"avatar_url":"https://avatars.githubusercontent.com/u/1375528?v=3","gravatar_id":"","url":"https://api.github.com/users/djsigfried56","html_url":"https://github.com/djsigfried56","followers_url":"https://api.github.com/users/djsigfried56/followers","following_url":"https://api.github.com/users/djsigfried56/following{/other_user}","gists_url":"https://api.github.com/users/djsigfried56/gists{/gist_id}","starred_url":"https://api.github.com/users/djsigfried56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djsigfried56/subscriptions","organizations_url":"https://api.github.com/users/djsigfried56/orgs","repos_url":"https://api.github.com/users/djsigfried56/repos","events_url":"https://api.github.com/users/djsigfried56/events{/privacy}","received_events_url":"https://api.github.com/users/djsigfried56/received_events","type":"User","site_admin":false},"created_at":"2016-05-22T11:11:46Z","updated_at":"2016-05-22T11:11:46Z","body":"Hi NumericFactory,\r\n\r\nYou need to use Alert\r\nSo in your controller specify this:\r\n`use Alert;`"}}
{"actor":{"display_login":"djsigfried56"}}