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

Revision

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

Revision 104 Revision 105
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
            $action = Action::find( $id );
97
            $action = Action::find( $id );
97
            return view( 'action', [ "action" => $action, ] );
98
            return view( 'action', [ "action" => $action, ] );
98
        }
99
        }