CCH wrote ... > > Where is that piece of code and what URL are you hitting? > login.rhtml > CCH : > <h1>Welcome to the e-CRM !</h1> > <table > > <tr> > <td> > <img src="images/crm.jpg" height="300" > > </td> > > http://127.0.0.1:3000/
I'm stumped. Maybe someone else has some ideas, but I cannot figure out how you can get a routing error on an image unless perhaps there's something wrong with your routes.rb file. I don't remember having any problems upgrading apps from 1.2 to 2.x with respect to images, or anything else under the public directory, and I certainly didn't have to change any routes for them. The only thing I really did with my routes in the upgrade was to go to strictly RESTful and named routes (and deleted the old default routes). FWIW, you might want to consider renaming your .rhtml files to .html.erb to conform with the new Rails naming conventions, but that's not related to your problem. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "ActiveScaffold : Ruby on Rails plugin" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/activescaffold?hl=en -~----------~----~----~----~------~----~------~--~---
