app/Http/Controllers/TweetController.php
/**
	 * Display a listing of the resource.
	 *
	 * @return Response
	 */
Display a listing of the resource.
@return Response
Display a listing of the resource . @return Response
public function index()
	{
		$tweets = Tweet::orderBy('title')->get();
		return view('tweets.index', compact('tweets'));
	}
public function index ( ) { $ tweets = Tweet :: orderBy ( 'title' ) -> get ( ) ; return view ( 'tweets.index' , compact ( 'tweets' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .