/**
  * Store a newly created resource in storage.
  *
  * @return Response
  */
 public function store()
 {
     try {
         $tech = new Technology();
         $tech->title = Input::get('title');
         $tech->image = Input::get('image_path');
         $tech->link = Input::get('link');
         $tech->target = Input::get('target');
         $tech->sort = Technology::max('sort') + 1;
         $tech->status = Input::get('status');
         $tech->save();
         return Redirect::route('admin.technologies.index');
     } catch (Exception $e) {
         return Redirect::back()->withInput()->withErrors('新增失敗');
     }
 }