public function postAddImg()
 {
     //image upload
     $move = Input::file('images')->move('uploadfiles', Input::file('images')->getClientOriginalName());
     if ($move) {
         $sliderImage = SliderImage::create(array('title' => Input::get('title'), 'description' => Input::get('description'), 'image_name' => Input::file('images')->getClientOriginalName()));
         return Redirect::route('add-slider-images')->with('global', 'Image uploaded successfully');
     }
 }
 public function run()
 {
     SliderImage::create(['link' => 'img/resources/slider/slide1.jpg', 'description' => 'Some description']);
     SliderImage::create(['link' => 'img/resources/slider/slide2.jpg', 'description' => 'Some description 2']);
     SliderImage::create(['link' => 'img/resources/slider/slide3.jpg', 'description' => 'Some description 3']);
 }