Reputation: 421
I am trying to fetch a doc file from AWS S3 bucket in my rails app. Is there any way to display doc file in my view page? Or is there any gem for this? I have already made url path for file.
I am new in rails. I am also use yomu gem but I don't understand that.
Thanks
Upvotes: 0
Views: 239
Reputation: 884
By default, your browser would not let you view doc files since it wouldn't have the capability to do so. If you want to display the entire document file, you can resort to plugins that handle that for you (check out Crocodoc or DocumentCloud)
Upvotes: 2