<commit_before><?php namespace App\Http\Controllers;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Mail;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Session;

use App\Permohonan;
use App\Perizinan;
use Request;
use Carbon\Carbon;
use Response;

class PermohonanController extends Controller {

    public function index(){
        if(Session::has('user'))
            return view ('permohonan.home');
        else return view ('permohonan.login');
    }

	public function form() {
        return View::make('permohonan.form_permohonan');
    }

    public function get() {
        try{
            $user = Session::get('user');
        } catch (Exception $e) {
            return Redirect::route('home');
        }

        $permohonans = Permohonan::where('id_pemohon', $user->id)->get();
<commit_msg>Resolve blank page 4<commit_after><?php namespace App\Http\Controllers;

use App\Http\Requests;
use App\Http\Controllers\Controller;
use Mail;
use Illuminate\Support\Facades\Redirect;
use Illuminate\Support\Facades\Session;

use App\Permohonan;
use App\Perizinan;
use Request;
use Carbon\Carbon;
use Response;

class PermohonanController extends Controller {

    public function index(){
        if(Session::has('user'))
            return view ('permohonan.home');
        else return view ('permohonan.login');
    }

	public function form() {
        return view('permohonan.form_permohonan');
    }

    public function get() {
        try{
            $user = Session::get('user');
        } catch (Exception $e) {
            return Redirect::route('home');
        }

        $permohonans = Permohonan::where('id_pemohon', $user->id)->get();

{'fraction_non_alphanumeric': 0.13066509711595056, 'fraction_numerical': 0.0005885815185403178, 'mean_word_length': 3.1262135922330097, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2136948', 'n_tokens_mistral': 525, 'n_tokens_neox': 530, 'n_words': 117}