I finally figured this out.  I have an action that only renders html, 
but googlebot for instance asks for text format.  So, it tries to find 
action.text.erb which doesn't exist.

I added this to my controller and everything works now.

before_filter :force_html_requests, :only => :show

def force_html_requests
  request.format = :html
end

-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to