Sunday, May 21, 2017

Method [show] does not exist in laravel 4.2

I want to pass multiple parameter from href and want to get with Input::get() in my function. I find bad method call exception Method [show] does not exist error. My route is: Route::get('workorder/test', 'WorkOrderController@test'); and passing on this way

<a class="btn btn-primary btn-xs" title="Edit" href="">
                                                <i class="fa fa-edit text-white"></i>
                                            </a>

I want to get from my function:

public function test() {
    echo Input::get('work_order_id');exit;
}

can i get any idea why this error.



via Alamin Dawan

Advertisement