Hi David

On Aug 21, 12:15 pm, David Cato <[email protected]> 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 tried adding something similar in one of my view templates and I do
> not get any routing errors, either for a file that exists or one that
> does not. Make sure that RAILS_ROOT/public/images/crm.jpg exists, but
> even if it doesn't you shouldn't be getting a routing error.

CCH : crm.jpg does exist

>
> You could always try using <%= image_tag("crm.jpg") %> instead of
> hard-coding the path, but I wouldn't expect that to make any difference
> unless you're running your app from a subdirectory.

CCH
http://cch4rails.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to