/** * Store a newly created resource in storage. * POST /statistics. * * @return Response */ public function store($society, StatisticsRequest $request) { $stat = Statistic::create($request->all()); return Redirect::route('society.groups.statistics.index', array($society, $stat->group_id))->with('okmessage', 'New stat has been added'); }