模板和部分存在时以及不存在时出现406错误

时间:2012-02-20 06:28:33

标签: ruby-on-rails ruby-on-rails-3

我收到406错误并且它呈现一个空白的白页,即使日志使它看起来像是在渲染我的共享/ 404页面。我甚至可以删除布局和404页面和相同的错误。有什么想法吗?

Started GET "/" for 127.0.0.1 at 2012-02-19 22:26:56 -0800
  Processing by MinisitesController#show as HTML
  Account Load (0.4ms)  SELECT "accounts".* FROM "accounts" WHERE "accounts"."full_domain" = 'test.eg.local' AND (accounts.deleted_at IS NULL) LIMIT 1
Rendered shared/404.html.haml (0.3ms)
Completed 406 Not Acceptable in 81ms (Views: 12.3ms | ActiveRecord: 2.2ms)

0 个答案:

没有答案