Advertisement
Guest User

Untitled

a guest
May 24th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. <?php namespace App\Http\Controllers;
  2.  
  3. use App\Http\Requests;
  4. use App\Http\Controllers\Controller;
  5. use APP\Mahasiswa;
  6.  
  7. use Request;
  8.  
  9. class Mahasiswa extends Controller {
  10.  
  11. public function index() {
  12. // $mahasiswa = Mahasiswa::find(1);
  13. return view('mahasiswa.daftar');
  14. }
  15.  
  16. public function form() {
  17. return view('mahasiswa._form');
  18. }
  19.  
  20. public function save() {
  21. $input = Request::all();
  22.  
  23. return $input;
  24. }
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement