app/Http/Controllers/RoleController.php
/**
     * Show the form for creating a new role.
     *
     */
Show the form for creating a new role.
Show the form for creating a new role .
public function create()
    {
        $data['modules'] = ['Role', 'User', 'Course', 'Lesson', 'HomeWork', 'Financial', 'Shop'];
        return view('panel.roles.create', compact('data'));
    }
public function create ( ) { $ data [ 'modules' ] = [ 'Role' , 'User' , 'Course' , 'Lesson' , 'HomeWork' , 'Financial' , 'Shop' ] ; return view ( 'panel.roles.create' , compact ( 'data' ) ) ; }
Show the form for creating a new role.
Show the form for creating a new role .