🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.ruby
Article #733

redirect do dokumentu pdfa

#733
From: Bober
Date: Wed, 05 Dec 2007 11:40
14 lines
1485 bytes
Witam!

w katalogu public/pdf mam plik test.pdf

gdy próboje go otworzyć:
http://127.0.0.1:3001/pdf/test.pdf przegladarka otwiera bez problemu,
natomiast gdy chce na końcu metody przekierować
do pdf/test.pdf  (redirect_to_path "/pdf/test.pdf" ) to otrzymuje
błąd:

no route found to match "/pdf/test.pdf" with {:method=>:get}


jak to naprawić?
Technical Details
Message-ID: <697788f7-628f-462d-b97b-20c50faac80a@b40g2000prf.googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!b40g2000prf.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.gazeta.pl!newsfeed.pionier.net.pl!news.glorb.com!postnews.google.com!b40g2000prf.googlegroups.com!not-for-mail
From: Bober <sebastian.bobrowski@gmail.com>
Newsgroups: pl.comp.lang.ruby
Subject: redirect do dokumentu pdfa
Date: Wed, 5 Dec 2007 03:40:53 -0800 (PST)
Organization: http://groups.google.com
Lines: 14
Message-ID: <697788f7-628f-462d-b97b-20c50faac80a@b40g2000prf.googlegroups.com>
NNTP-Posting-Host: 80.55.120.138
Mime-Version: 1.0
X-Trace: posting.google.com 1196854853 31261 127.0.0.1 (5 Dec 2007 11:40:53 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 5 Dec 2007 11:40:53 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: b40g2000prf.googlegroups.com; posting-host=80.55.120.138;  posting-account=j0u1wgoAAAAXow7PxLkva59FtLVCAGI-
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl; rv:1.8.1.11)  Gecko/20071127 Firefox/2.0.0.11,gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.1 skarbowa.one.pl:8080 (squid/2.6.STABLE5)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit