Hi All

This piece of code works in Rails 1.2
<a><img src="/images/crm.jpg"></a>

But crashes in Rails 2.2.3

Processing ApplicationController#index (for 127.0.0.1 at 2009-08-21
10:22:23) [GET]

ActionController::RoutingError (No route matches "/images/crm.jpg"
with {:method=>:get}):
  -e:2:in `load'
  -e:2

Rendering rescues/layout (not_found)

How can I configure the correct route in routes.rb ?

TIA

CCH
http://cch4rails.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to