Facebox needs to get back a text/html response. We were using text/javascript to indicate that we wanted a remote form and text/html to indicate we wanted a non-remote form. The trouble is, if we request with text/javascript then that is the format we get back. It doesn't really make sense to use formats that way anyway, so I changed it to an explicit parameter. This had the nice side effect of simplifying our new-aspect views. |
||
|---|---|---|
| .. | ||
| chubbies | ||
| controllers | ||
| fixtures | ||
| helpers | ||
| integration | ||
| javascripts | ||
| lib | ||
| mailers | ||
| models | ||
| multi_server | ||
| shared_behaviors | ||
| support | ||
| factories.rb | ||
| helper_methods.rb | ||
| misc_spec.rb | ||
| spec_helper.rb | ||