app/admin/active_admin/views_helper.rb in activeadmin-selleo-cms-0.0.13 vs app/admin/active_admin/views_helper.rb in activeadmin-selleo-cms-0.0.14
- old
+ new
@@ -2,6 +2,10 @@
if page.is_link_url
page.link_url
else
"/#{I18n.locale}/#{page.slug}"
end
+end
+
+def set_admin_locale
+ I18n.locale = :en
end
\ No newline at end of file