refinery/refinerycms — pull request #2306 by ugisozols (2013-06-28 11:36:16+00:00)
Title: Add frontend_locales helper.

It returns an array of locales which are only defined both in `Refinery::I18n.frontend_locales` and `Refinery::I18n.locales`.

This also fixes bug where user configures `Refinery::I18n.frontend_locales` to hold locales which `Refinery::I18n.locales` doesn't know about but the flags for these 'unknown' locales are still shown when creating/editing page.