@extends('themes.default1.agent.layout.agent')
@extends('themes.default1.agent.layout.sidebar')
@section('article')
active
@stop
@section('all-article')
class="active"
@stop
@section('content')
{{Lang::get('lang.articles')}}
@if(Session::has('success'))
Success
{{Session::get('success')}}
@endif
@if(Session::has('fails'))
Fail!
{{Session::get('fails')}}
@endif
{!! Datatable::table()
->addColumn(Lang::get('lang.name'),
Lang::get('lang.create'),
Lang::get('lang.action')) // these are the column headings to be shown
->setUrl(route('api.article')) // this is the route where data will be retrieved
->render() !!}