I have the following route:
Route::group(array('prefix' => 'admin', 'before' => 'auth'), function()
{
Route::get('user/my-price/{user}/{sku}', function ($user, $sku)
{
return getMyPrice($user, $sku);
});
});
I am logged in under admin and every other route works except this new one I added at the top of the other routes in the admin
group.
I am accessing the route via the following URL:
http://domain.dev/sites/client112/public/admin/user/my-price/6146/UF-5E4Q-T8PO
What would cause Laravel 4.2 to show the error Controller method not found
when clearly this is a closure, not a controller reference?