app/helpers/qbrick/cms/admin_helper.rb in qbrick-2.6.9 vs app/helpers/qbrick/cms/admin_helper.rb in qbrick-2.6.10
- old
+ new
@@ -1,10 +1,10 @@
# FIXME: this file is currently ignored by rubocop and could use some cleaning up
module Qbrick
module Cms
module AdminHelper
def render_language_switch?
- I18n.available_locales.size > 1
+ I18n.available_locales.many?
end
def link_to_content_locale(locale)
action = params[:action]
if params[:action] == 'create'