Subversion-Projekte lars-tiefland.webanos.faltradxxs.de

Revision

Revision 105 | Revision 108 | Zur aktuellen Revision | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 105 Revision 106
Zeile 91... Zeile 91...
91
         */
91
         */
92
        public function edit( int $id ): Factory|View|Application
92
        public function edit( int $id ): Factory|View|Application
93
        {
93
        {
94
            //
94
            //
95
            \View::share( "lType", "k" );
95
            \View::share( "lType", "k" );
96
            \View::share( [ "kategorien" => ActionType::all()->flatten() ] );
96
            $kategorien = ActionType::all()->flatten();
-
 
97
            dump( $kategorien );
-
 
98
            \View::share( [ "kategorien" => $kategorien ] );
97
            $action = Action::find( $id );
99
            $action = Action::find( $id );
98
            return view( 'action', [ "action" => $action, ] );
100
            return view( 'action', [ "action" => $action, ] );
99
        }
101
        }