Skip to content

Commit

Permalink
download product by lang
Browse files Browse the repository at this point in the history
  • Loading branch information
snezhkoigor committed Oct 23, 2017
1 parent 0cc582d commit 44fc67b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Services/ActivationService.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function sendSms($user)

$code = $this->activationRepo->create($user, true);
return Smsc::send([
'phones' => $user->calling_code . $user->phone,
'phones' => '+' . $user->calling_code . $user->phone,
'mes' => view('sms.activation.' . User::get_language($user->country), ['code' => $code])
], $code);
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/sms/activation/en.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Activation code: {{ $code }}
For activation enter: {{ $code }}

Best regards,
{{ config('app.name') }}
2 changes: 1 addition & 1 deletion resources/views/sms/activation/ru.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Код для активации: {{ $code }}
Для активации введите: {{ $code }}

С уважением,
{{ config('app.name') }}

0 comments on commit 44fc67b

Please sign in to comment.