Ruby on Rails Tuesday, November 30, 2010

Ok, lets begin, I'm newest, sorry because this is a low level question:

If I have this, and of course I've saved before, this file in public dir

<iframe src="public/6465_p_61_620_15674.pdf"></iframe>

¿Why doesn't work?

* this is called from "firmas" controller and "mostrar_pdf" action

=>the iframe says, if i have Javascript:
No route matches "/firmas/public/6465_p_61_620_15674.pdf"

=>and, if i haven't:
No route matches "/mostrar_pdf/public/6465_p_61_620_15674.pdf"


thanks a lot

--
Posted via http://www.ruby-forum.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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment