ack!
I meant to type same controller name as the default directory
attachment_fu creates; I get a server listing of files instead of the
index of that resource.
my bad.
any thoughts?
On Oct 8, 10:50 pm, sal
<salomon.valve...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> All,
>
> I''m running into a bit of a newb issue here. I''ve created
an app with
> attachment_fu which by default created a directory within public as
> "public/#{tablename}". But now when I try and browse to my
default
> action for that resource which is the same actionname as my tablename
> I get redirected to a file listing of that public/tablename
> directory... within my index view of that action I want to display the
> file I''ve uploaded but I cannot figure out why it''s
redirectiing to
> the files directory attachment_fu has uploaded the file to. not sure
> if this is a webserver (apache/passenger) or a rails routing issue...
>
> hope that makes sense
>
> can anyone please help?
>
> thanks in advance
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
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
-~----------~----~----~----~------~----~------~--~---