Beispiel #1
0
 public function getProfile($slugOrId)
 {
     $profile = $this->user->findBySlugOrIdOrFail($slugOrId);
     $updatePolice = $this->userPolice->update($profile);
     $countries = $this->country->all(['id', 'short_name'])->lists('short_name', 'id');
     return theme('user.learning.profile', compact('profile', 'updatePolice', 'countries'));
 }
Beispiel #2
0
 public function getRegister(CountryRepository $country)
 {
     $countries = $country->all(['id', 'short_name']);
     return \Theme::view('auth.register', compact('countries'));
 }