RoutingError in JavaScript folder after updating to Rails 3.2
I just updated to Rails 3.2 and I started to get errors like this:

    Started GET "/javascripts/application.js?body=1" for 127.0.0.1 at 2012-02-20 23:25:10 +0800
    
    ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
      actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
      actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
      railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app'
      railties (3.2.1) lib/rails/rack/logger.rb:16:in `call'
      actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call'
      rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
      rack (1.4.1) lib/rack/runtime.rb:17:in `call'
      activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
      rack (1.4.1) lib/rack/lock.rb:15:in `call'
      actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call'
      railties (3.2.1) lib/rails/engine.rb:479:in `call'
      railties (3.2.1) lib/rails/application.rb:220:in `call'
      rack (1.4.1) lib/rack/content_length.rb:14:in `call'
      railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call'
      rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
      /home/alex/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
      /home/alex/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
      /home/alex/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
    
    
      Rendered /home/alex/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.8ms)

The same for post.js, page.js etc...But all these files are in the `/javascripts` folder.

What exactly I have to do in order to fix this?


RoutingError in JavaScript folder after updating to Rails 3.2
===

I just updated to Rails 3.2 and I started to get errors like this:

    Started GET "/javascripts/application.js?body=1" for 127.0.0.1 at 2012-02-20 23:25:10 +0800
    
    ActionController::RoutingError (No route matches [GET] "/javascripts/application.js"):
      actionpack (3.2.1) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
      actionpack (3.2.1) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
      railties (3.2.1) lib/rails/rack/logger.rb:26:in `call_app'
      railties (3.2.1) lib/rails/rack/logger.rb:16:in `call'
      actionpack (3.2.1) lib/action_dispatch/middleware/request_id.rb:22:in `call'
      rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
      rack (1.4.1) lib/rack/runtime.rb:17:in `call'
      activesupport (3.2.1) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
      rack (1.4.1) lib/rack/lock.rb:15:in `call'
      actionpack (3.2.1) lib/action_dispatch/middleware/static.rb:53:in `call'
      railties (3.2.1) lib/rails/engine.rb:479:in `call'
      railties (3.2.1) lib/rails/application.rb:220:in `call'
      rack (1.4.1) lib/rack/content_length.rb:14:in `call'
      railties (3.2.1) lib/rails/rack/log_tailer.rb:14:in `call'
      rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
      /home/alex/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:111:in `service'
      /home/alex/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/httpserver.rb:70:in `run'
      /home/alex/.rvm/rubies/ruby-1.9.2-p290/lib/ruby/1.9.1/webrick/server.rb:183:in `block in start_thread'
    
    
      Rendered /home/alex/.rvm/gems/ruby-1.9.2-p290/gems/actionpack-3.2.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (1.8ms)

The same for post.js, page.js etc...But all these files are in the `/javascripts` folder.

What exactly I have to do in order to fix this?

