コントローラごとにエラーハンドリング

App.controller :foo do
  error 404 do
    render 'foo/not_found'
  end
end

とかでコントローラごとにエラーハンドリングできる。