public function edit($id)
    {
        $roles = Role::getAllLists();
        $navigation = NavigationAdmin::findOrFail($id);

        return $this->view('titan::settings.navigation.add_edit')
            ->with('item', $navigation)
            ->with('roles', $roles)
            ->with('parents', NavigationAdmin::getAllLists());
    }
public function edit($id)
    {
        $roles = Role::getAllLists();
        $navigation = NavigationAdmin::findOrFail($id);

        return $this->view('titan::settings.navigation.add_edit')
            ->with('item', $navigation)
            ->with('roles', $roles)
            ->with('parents', NavigationAdmin::getAllLists());
    }
public function edit ( $ id ) { $ roles = Role :: getAllLists ( ) ; $ navigation = NavigationAdmin :: findOrFail ( $ id ) ; return $ this -> view ( 'titan::settings.navigation.add_edit' ) -> with ( 'item' , $ navigation ) -> with ( 'roles' , $ roles ) -> with ( 'parents' , NavigationAdmin :: getAllLists ( ) ) ; }
Show the form for editing the specified navigation.

@param $id
@return Response
Show the form for editing the specified navigation .