这些使 SWFupload 在 mac 上的 safari 或 firefox 中工作的特殊说明仅适用于 PHP。一些通晓多种语言的程序员可以帮我把它翻译成 Rails 吗?
PHP 版本 this quote is from here
I added echo "OK"; to the end of upload.php and uploadphoto.php and my MAC user can use the uploader with Photopost.
我假设他们的 upload.php 是承载表单的文件。也许 uploadphoto.php 是他们 Controller 中的一个 Action ?
最佳答案
你不需要模板, Controller 可以自己渲染文本:
render :text => "OK"
关于php - Rails 相当于 PHP 的 echo ("ok") 是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5185169/