Guest User

Untitled

a guest
Aug 31st, 2015
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. <?php
  2.  
  3. namespace App\Http\Controllers;
  4.  
  5. class WelcomeController extends Controller {
  6.  
  7.  
  8. public function __construct() {
  9. $this->middleware('guest');
  10. }
  11.  
  12.  
  13. public function index() {
  14.  
  15. return "Hello world";
  16. //return view('home');
  17. }
  18.  
  19. public function home() {
  20. return "Home";
  21. }
  22.  
  23. }
Advertisement
Add Comment
Please, Sign In to add comment