/** * Store a newly created resource in storage. * @param ItemFormRequest $request * @return mixed */ public function store(ItemFormRequest $request) { $item = new Item(); $item->name = $request->get('name'); $item->active = $request->get('active'); $item->save(); return \Redirect::route('item')->with('message', 'Item saved'); }