public function postComments() { $validator = Validator::make(Input::all(), Comment::$rules); if ($validator->passes()) { $comment = new Comment(); $comment->post_id = Input::get('post_id'); $comment->reply_from_id = Input::get('reply_from_id'); $comment->user = Input::get('user'); $comment->enabled = 0; $comment->email = Input::get('email'); $comment->comment = Input::get('comment'); $comment->save(); return Redirect::back(); } return Redirect::back()->withErrors($validator)->withInput(); }