예제 #1
0
 /**
  * Calculate the current Locale path  prefix if needed
  * @return string
  */
 protected function getRealLocale()
 {
     return LaravelLocalization::getCurrentLocale() == LaravelLocalization::getDefaultLocale() ? '' : '/' . LaravelLocalization::getCurrentLocale();
 }