app/controllers/pages_controller.rb in activeadmin-selleo-cms-0.0.30 vs app/controllers/pages_controller.rb in activeadmin-selleo-cms-0.0.31

- old
+ new

@@ -20,9 +20,11 @@ if !@page or (!@page.is_published? and @page != root) redirect_to page_path(I18n.locale, root) elsif @page.redirect_to_first_sub_page redirect_to page_path(I18n.locale, @page.children.first || root) + elsif @page.is_link_url + redirect_to @page.link_url end end public