Agile Web Development with Rails 7: error when switching locale 'No route matches [POST] "/"' (page 244)

Oops, I meant to say add , via: :all to the root route. Fixed.