refinerycms
refinerycms copied to clipboard
Fixed page listing error: comparison of Fixnum with nil failed
When browsing at http://localhost:3000/refinery/pages Pages translated to locales not mentioned in the Refinery::I18n.frontend_locales causes:
ArgumentError in Refinery::Admin::Pages#index
Showing .../refinerycms-pages-3.0.5/app/views/refinery/admin/pages/_page.html.erb where line #28 raised:
comparison of Fixnum with nil failed
This happens if you start translating into a language, but remove the locale from Refinery::I18n.frontend_locales if it is not ready at launch.
Is it possible to have a test case for this patch please?