I have given a view URL as
<input type="hidden" id="urlview" urlview="{{ URL::route('Batch-InnerView/'.$batch->batch_id) }}" /> in view and my web route is
Route::get('/Batch-InnerView/{id}',['as' => 'BatchInnerView', 'uses' => 'student\StudentBatchController@getView']);
showing error
ErrorException (E_ERROR) Route [/Batch-InnerView/1] not defined. (View: D:\vjcetcrm\resources\views\settings\student\Batch-InnerView.blade.php)