/**
  * Store a newly created resource in storage.
  *
  * @return Response
  */
 public function store()
 {
     $input = Input::all();
     $validation = Validator::make($input, Variables_variant::$rules);
     if ($validation->passes()) {
         $this->variables_variant->create($input);
         return Redirect::route('variables_variants.index');
     }
     return Redirect::route('variables_variants.create')->withInput()->withErrors($validation)->with('message', 'There were validation errors.');
 }