app/controllers/PostsController.php
/**
	 * Remove the specified resource from storage.
	 *
	 * @param  int  $id
	 * @return Response
	 */
Remove the specified resource from storage.
@param  int  $id
@return Response
Remove the specified resource from storage . @param int $id @return Response
public function destroy($id)
	{
		$post = Post::findorfail($id);
		$post->delete();
		Session::flash('successMessage', 'Success: Post Deleted');
		return Redirect::action('PostsController@index');
	}
public function destroy ( $ id ) { $ post = Post :: findorfail ( $ id ) ; $ post -> delete ( ) ; Session :: flash ( 'successMessage' , 'Success: Post Deleted' ) ; return Redirect :: action ( 'PostsController@index' ) ; }
Remove the specified resource from storage.
Remove the specified resource from storage .