public function postNewNews(Request $request)
 {
     $validator = Validator::make($request->all(), ['title' => 'required|max:255', 'image' => 'required', 'tags' => 'required', 'article' => 'required|min:1']);
     if ($validator->fails()) {
         // print dd($validator);
         return redirect('admin/news/new')->withErrors($validator)->withInput();
     }
     News::new_post($request->all());
     return redirect('news');
 }
 public function index()
 {
     $data = array('article' => News::featured());
     return view('index', $data);
 }
 public function post($id)
 {
     $data = array('article' => News::get($id));
     return view('news.post', $data);
 }