From: Austin Ziegler Date: 2007-12-05T21:58:45+09:00 Subject: Re: redirect to pdf On 12/5/07, Bober wrote: > in folder public/pdf I have a file "test.pdf" > > when I try it open http://127.0.0.1:3001/pdf/test.pd > everything is ok, browser open test.pdf. > > but when I try to redirect in method > (redirect_to_path "/pdf/test.pdf" ) > > I see error > > no route found to match "/pdf/test.pdf" with {:method=>:get} > > what is wrong? …that you're asking a Rails on ruby-talk. I also suspect that a Google search would answer your question quickly, although I'm not sure because I don't actually use rails. -austin -- Austin Ziegler * halostatue@gmail.com * http://www.halostatue.ca/ * austin@halostatue.ca * http://www.halostatue.ca/feed/ * austin@zieglers.ca