{"action":"opened","issue":{"url":"https://api.github.com/repos/yajra/laravel-datatables/issues/1035","repository_url":"https://api.github.com/repos/yajra/laravel-datatables","labels_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/1035/labels{/name}","comments_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/1035/comments","events_url":"https://api.github.com/repos/yajra/laravel-datatables/issues/1035/events","html_url":"https://github.com/yajra/laravel-datatables/issues/1035","id":211029733,"number":1035,"title":"ability to send blade format from controller","user":{"login":"Mahdi-Sahib","id":17945677,"avatar_url":"https://avatars3.githubusercontent.com/u/17945677?v=3","gravatar_id":"","url":"https://api.github.com/users/Mahdi-Sahib","html_url":"https://github.com/Mahdi-Sahib","followers_url":"https://api.github.com/users/Mahdi-Sahib/followers","following_url":"https://api.github.com/users/Mahdi-Sahib/following{/other_user}","gists_url":"https://api.github.com/users/Mahdi-Sahib/gists{/gist_id}","starred_url":"https://api.github.com/users/Mahdi-Sahib/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mahdi-Sahib/subscriptions","organizations_url":"https://api.github.com/users/Mahdi-Sahib/orgs","repos_url":"https://api.github.com/users/Mahdi-Sahib/repos","events_url":"https://api.github.com/users/Mahdi-Sahib/events{/privacy}","received_events_url":"https://api.github.com/users/Mahdi-Sahib/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-03-01T09:52:28Z","updated_at":"2017-03-01T09:52:28Z","closed_at":null,"body":"   when try to send {{ $ticket -> id }} from controller \r\nthe view write same thing {{ $ticket -> id }}\r\n\r\n public function ticketTable(){\r\n        $tickets = Ticket::select('tickets.*');\r\n        return Datatables::of($tower_tickets)\r\n            ->addColumn('action', function ($ticket) {\r\n                return '<a href=\"\" onclick=\"fun_view_ticket(\\' {{ $ticket -> id }} \\')\">View</a>' ; })\r\n            ->make(true);\r\n    }\r\n\r\n\r\nresults in browser \r\n<a href=\"\" onclick=\"fun_view_ticket('{{$tower_ticket -> id}}')\">View</a>\r\n"}}
{"actor":{"display_login":"Mahdi-Sahib"}}