Fix russian language for creating ticket
This commit is contained in:
3
app/Http/Controllers/Common/ApiSettings.php
Normal file → Executable file
3
app/Http/Controllers/Common/ApiSettings.php
Normal file → Executable file
@@ -9,6 +9,7 @@ use DB;
|
||||
use Exception;
|
||||
use Illuminate\Http\Request;
|
||||
use Input;
|
||||
use Lang;
|
||||
use Log;
|
||||
|
||||
class ApiSettings extends Controller
|
||||
@@ -68,7 +69,7 @@ class ApiSettings extends Controller
|
||||
$settings->create(['key' => $key, 'value' => $value]);
|
||||
}
|
||||
|
||||
return redirect()->back()->with('success', 'Updated Successfully');
|
||||
return redirect()->back()->with('success', Lang::get('lang.updated_successfully'));
|
||||
} catch (Exception $ex) {
|
||||
return redirect()->back()->with('fails', $ex->getMessage());
|
||||
}
|
||||
|
Reference in New Issue
Block a user