public function getIndex()
 {
     if (!ACL::hasPermission('websiteSettings', 'edit')) {
         return redirect(route('home'))->withErrors(['You don\'t have permission for edit the website settings.']);
     }
     $imagesSize = ['logotypeWidth' => $this->logotypeWidth, 'logotypeHeight' => $this->logotypeHeight, 'faviconWidth' => $this->faviconWidth, 'faviconHeight' => $this->faviconHeight, 'avatarWidth' => $this->avatarWidth, 'avatarHeight' => $this->avatarHeight, 'appleTouchIconWidth' => $this->appleTouchIconWidth, 'appleTouchIconHeight' => $this->appleTouchIconHeight];
     $websiteSettings = WebsiteSettings::where('websiteSettingsId', '=', $this->websiteSettingsId)->first();
     return view('admin.websiteSettings.index')->with(compact('websiteSettings', 'imagesSize'));
 }
 public function getIndex()
 {
     if (!ACL::hasPermission('websiteSettings', 'edit')) {
         return redirect(route('home'))->withErrors(['Você não tem permissão para acessar os dados do site.']);
     }
     $imageDetails = ['folder' => $this->folder, 'faviconWidth' => $this->faviconWidth, 'faviconHeight' => $this->faviconHeight, 'avatarWidth' => $this->avatarWidth, 'avatarHeight' => $this->avatarHeight, 'appleTouchIconWidth' => $this->appleTouchIconWidth, 'appleTouchIconHeight' => $this->appleTouchIconHeight];
     $websiteSettings = WebsiteSettings::where('websiteSettingsId', '=', $this->websiteSettingsId)->first();
     return view('admin.websiteSettings.index')->with(compact('websiteSettings', 'imageDetails'));
 }