/** * Store a newly created resource in storage. * * @param CreateWireRequest|Request $request * @return Response */ public function store(CreateWireRequest $request) { $wire = new Wire(); $wire->fill($request->all()); $wire->save(); $message = trans('messages.wire_successfully_created'); Flash::success($message); return redirect()->route('admin.wires.edit', $wire); }