update database
This commit is contained in:
@@ -16,7 +16,7 @@ class CreateRequest extends FormRequest
|
||||
public function authorize()
|
||||
{
|
||||
$typeName = Str::lower(Book::find($this->book_id)->name);
|
||||
return $this->user()->hasPermissionTo('Quản lý '. $typeName);
|
||||
return $this->user()->hasPermissionTo('Разрешении '. $typeName);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -13,7 +13,7 @@ class ExportRequest extends FormRequest
|
||||
*/
|
||||
public function authorize()
|
||||
{
|
||||
return $this->user()->hasPermissionTo('Báo cáo thống kê');
|
||||
return $this->user()->hasPermissionTo('Статистическая');
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user