Advertisement
Guest User

Untitled

a guest
Jan 24th, 2017
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.47 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Http\Controllers;
  4.  
  5. use App\Notifications\ActivateUser;
  6. use App\User;
  7. use Illuminate\Http\Request;
  8.  
  9. class LkController extends Controller
  10. {
  11. public function __construct()
  12. {
  13. $this->middleware('auth');
  14. }
  15.  
  16. public function index() {
  17. if (\Auth::user()->state == 'new') {
  18.  
  19. // Как отправить уведомление???
  20.  
  21. } else {
  22. return view('lk.index');
  23. }
  24. }
  25. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement