scope "/:locale" do

16 views
Skip to first unread message

fugee ohu

unread,
Aug 28, 2017, 11:39:39 AM8/28/17
to Ruby on Rails: Talk
Tried to add internationalization by wrapping all my routes except root with
scope "/:locale" do
...
end

That caused this error when requesting root
No route matches {:action=>"new", :controller=>"devise/sessions"} missing required keys: [:locale]

How is this supposed to work
Reply all
Reply to author
Forward
0 new messages