Hopefully it's obvious what I'm trying to do here:
respond_to do |format|
format.html # show.html.erb
format.fbml { render(:format=>'html')}
end
The problem is, the fbml version doesn't work. Rails insists on
looking for show.fbml.erb and won't just render show.html.erb. I'd
rather not have to write this view twice.
Sorry, I should have replied in #rubyonrails this morning but it took
me a while to figure out that solution wouldn't work. First of all
the Mime::Type class doesn't support , and second of all I'm pretty
sure that just controls the MIME type of the response, rather than
selecting the format of the view (I could be wrong about that though).
Adam's suggestion (render(:template=>...)) with the full path worked
great. Thank you Adam!