The Reason is laravel is treating both as same, for example if you send a request http://127.0.0.1:8000/items/approved http://127.0.0.1:8000/items/1232 Technically it should work as expected but due to laravel wildcard it look for but Laravel interprets ...
StackOverflow Latest Questions
The following custom Shortcode, will display a text imput field (with a submit button) where user can enter a coupon code to be applied. Usage: [coupon_field] or in Php code echo do_shortcode("[coupon_field]"); The code: add_shortcode( 'coupon_field', 'display_coupon_field' ); function display_coupon_field() { ...