TimelineController.php 437 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace App\Http\Controllers;
  3. use Auth, Cache;
  4. use App\Follower;
  5. use App\Profile;
  6. use App\Status;
  7. use App\User;
  8. use App\UserFilter;
  9. use Illuminate\Http\Request;
  10. class TimelineController extends Controller
  11. {
  12. public function __construct()
  13. {
  14. $this->middleware('auth');
  15. $this->middleware('twofactor');
  16. }
  17. public function local(Request $request)
  18. {
  19. return view('timeline.local');
  20. }
  21. }