Howdy,
I don’t know if this is an error with the documentation, Rails bug or just me being goofy.
The Rails Guide on routing shows this example:
match “/application.js” => Sprockets
On Rails 3.2.8, I get an error when I copy and paste the example into the config/routes.rb file:
actionpack-3.2.8/lib/action_dispatch/routing/mapper.rb:181:in `default_controller_and_action’: missing :controller (ArgumentError)
I have done this with a pristine Rails 3.2.8 application.