finnlabs/chiliproject — pull request #48 by tessi (2012-08-24 16:36:16+00:00)
Title: reenable broken wiki preview.

the wiki-preview link was broken as a _method='put' parameter was sent with the form. this let rails think we want a put request instead of a post request.
so before sending the form we change the _method param back to 'post'

an alternative option would be to change link_to_remote to generate an AJAX.Updater which fixes this problem. That way the broken behavior should not appear at other places (like issue preview, which i haven't tested yet)

--tessi