public function createUser() { $this->checkCurrentUser(); //echo $currentId = Session::get('currentUser'); echo Personnel::checkUserAccess(); return view('user::createUser'); }
/** * Display a listing of the resource. * * @return \Illuminate\Http\Response */ public function index() { Personnel::checkUserAccess(); return view('rental::property.list', ['data' => Property::getAll(isset($_REQUEST['address_id']) ? $_REQUEST['address_id'] : null)]); }