app/Http/Controllers/__Old__/__ModuleController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $modules = Module::orderBy('name')->get();
        return view('modules.index')->withModules($modules);
    }
public function index ( ) { $ modules = Module :: orderBy ( 'name' ) -> get ( ) ; return view ( 'modules.index' ) -> withModules ( $ modules ) ; }
Display a listing of the resource.
Display a listing of the resource .