class Avo::ApplicationController

def set_avo_locale(&action)

Sets the locale set in avo.rb initializer
def set_avo_locale(&action)
  locale = Avo.configuration.locale || I18n.default_locale
  I18n.with_locale(locale, &action)
end