Skip to content

Instantly share code, notes, and snippets.

@ferdiunal
Last active April 15, 2016 20:34
Show Gist options
  • Save ferdiunal/0355ffd6ff58dabdc889d77e08f406ce to your computer and use it in GitHub Desktop.
Save ferdiunal/0355ffd6ff58dabdc889d77e08f406ce to your computer and use it in GitHub Desktop.
<?php
namespace App\Http\Controllers;
use App\Http\Requests\Post as Request;
use App\Http\Controllers\Controller;
class PostController extends Controller
{
public function index(){
return view('index'); // view dosyamızı çağırdık
}
public function store(Request $request){
return $request->all();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment