Commit dff5c662 authored by Nicolas Widart's avatar Nicolas Widart

Adding grid files method

parent d22ae2a6
......@@ -28,6 +28,13 @@ class MediaController extends AdminBaseController
return View::make('media::admin.index', compact('files'));
}
public function gridFiles()
{
$files = $this->file->all();
return View::make('media::admin.grid', compact('files'));
}
/**
* Show the form for creating a new resource.
*
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment