{"action":"created","issue":{"url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/189","repository_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter","labels_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/189/labels{/name}","comments_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/189/comments","events_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/189/events","html_url":"https://github.com/jadjoubran/laravel5-angular-material-starter/issues/189","id":138808664,"number":189,"title":"Error 500: \"Method success does not exist.\"","user":{"login":"yunus89","id":10565735,"avatar_url":"https://avatars.githubusercontent.com/u/10565735?v=3","gravatar_id":"","url":"https://api.github.com/users/yunus89","html_url":"https://github.com/yunus89","followers_url":"https://api.github.com/users/yunus89/followers","following_url":"https://api.github.com/users/yunus89/following{/other_user}","gists_url":"https://api.github.com/users/yunus89/gists{/gist_id}","starred_url":"https://api.github.com/users/yunus89/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yunus89/subscriptions","organizations_url":"https://api.github.com/users/yunus89/orgs","repos_url":"https://api.github.com/users/yunus89/repos","events_url":"https://api.github.com/users/yunus89/events{/privacy}","received_events_url":"https://api.github.com/users/yunus89/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-03-06T16:36:20Z","updated_at":"2016-03-06T16:58:08Z","closed_at":"2016-03-06T16:58:08Z","body":"Hi @jadjoubran ,\r\n\r\nIn the docs, `CreatePostController` return `response()->success(compact('post'))` which causes internal server error. I changed it to `response()->json(compact('post'))` instead, and everything is good. \r\nIf it's a mistake, i thing i should be corrected? Thanks."},"comment":{"url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/comments/192932983","html_url":"https://github.com/jadjoubran/laravel5-angular-material-starter/issues/189#issuecomment-192932983","issue_url":"https://api.github.com/repos/jadjoubran/laravel5-angular-material-starter/issues/189","id":192932983,"user":{"login":"jadjoubran","id":2265232,"avatar_url":"https://avatars.githubusercontent.com/u/2265232?v=3","gravatar_id":"","url":"https://api.github.com/users/jadjoubran","html_url":"https://github.com/jadjoubran","followers_url":"https://api.github.com/users/jadjoubran/followers","following_url":"https://api.github.com/users/jadjoubran/following{/other_user}","gists_url":"https://api.github.com/users/jadjoubran/gists{/gist_id}","starred_url":"https://api.github.com/users/jadjoubran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jadjoubran/subscriptions","organizations_url":"https://api.github.com/users/jadjoubran/orgs","repos_url":"https://api.github.com/users/jadjoubran/repos","events_url":"https://api.github.com/users/jadjoubran/events{/privacy}","received_events_url":"https://api.github.com/users/jadjoubran/received_events","type":"User","site_admin":false},"created_at":"2016-03-06T16:58:08Z","updated_at":"2016-03-06T16:58:08Z","body":"@yunus89 All issues fixed, if you have time I'd recommend you do the tutorial again. It should be a smooth process now.\r\nThanks for help and I'd love it if you can give me your feedback (here or in a new issue). If you think that there's anything that can be simplified\r\nThanks!"}}