Hmm, ok - so like myfile_pdf? But then it apparently will *save* as
myfile_pdf, and purportedly download as such, too ... so how will that lead
to a valid download for users? Apache won't send the right mime-type and
there won't be a valid file extension to infer the file contents, either ...
right?
On Fri, Apr 18, 2008 at 4:11 AM, Kristian Weston <[EMAIL PROTECTED]>
wrote:
> Brice Ruth wrote:
> > When clicking on the "?" link to get to the file upload form, I get an
> > error screen and this in the production log:
> >
> > ActionController::RoutingError (no route found to match
> > "/wiki/files/myfile.pdf" with {:method=>:get}):
> >
> > I checked routes.rb and :web/files/:id is there, file_controller.rb is
> > in app/controllers/, and wiki/files is created under instiki/public/
> > ... so not sure why Rails is complaining.
> >
> > Any ideas?
> >
> > Thanks!
> >
> > --
> > Brice Ruth, FCD
> > Software Engineer, Madison WI
>
> yes. dont use the dot.
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > Instiki-users mailing list
> > [email protected]
> > http://rubyforge.org/mailman/listinfo/instiki-users
>
> _______________________________________________
> Instiki-users mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/instiki-users
>
--
Brice Ruth, FCD
Software Engineer, Madison WI
_______________________________________________
Instiki-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/instiki-users