Dear all
Why the following error appear in development.log?
Processing ApplicationController#index (for 160.1.42.69 at 2009-06-29
19:09:05) [GET]
ActionController::RoutingError (No route matches
“/stylesheets/images/img02.gif” with {:method=>:get}):
/appl/lis/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/recognition_optimisation.rb:66:in
recognize_path' /appl/lis/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/routing/route_set.rb:386:in
recognize’
/appl/lis/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:182:in
handle_request' /appl/lis/jruby-1.2.0/lib/ruby/gems/1.8/gems/actionpack-2.2.2/lib/action_controller/dispatcher.rb:110:in
dispatch_unlocked’
Below is part of my css file, it is no problem to display the img02.gif
in my browser
#menu {
float: left;
width: 100%;
height: 40px;
margin: 0 auto;
background: #4E8CFF url(images/img02.gif) no-repeat;
}
FYI, my route.rb
map.connect ‘:controller/:action.:format’
map.connect ‘:controller/:action/:id’
map.connect ‘:controller/:action/:id.:format’
It is so strange…
Please kindly help. Thank you very much
Valentino