batch_request_api
batch_request_api copied to clipboard
Fix 'Missing :controller key on routes definition'
I have the following error after running rake middleware. I use rails 5.2.1 and ruby 2.5.0
rake aborted!
ArgumentError: Missing :controller key on routes definition, please check your routes.
/bundler_data/gems/newrelic_rpm-3.18.1.330/lib/new_relic/agent/instrumentation/rake.rb:28:in `invoke'
/bundler_data/gems/rake-12.3.0/exe/rake:27:in `<top (required)>'
Tasks: TOP => middleware => environment
(See full trace by running task with --trace)
Fixed it by adding to: to routes with 404 response.
We should never hit this but it's necessary to satisfy rails :)
+1
Any updates on this MR, why it is still not merged ?