<% node = @seminar_page_root %>
<% root_page = node %>
<% @page_root_id = node.id %>
<% bind_module_app = root_page.bind_module_app %>
<% @prefix_url = "" %>
<% if bind_module_app %>
<% link_page_url = Page.where(:module=>bind_module_app).first.url rescue "" %>
<% if link_page_url.present? %>
<% bind_model = root_page.bind_model %>
<% bind_uid = root_page.bind_uid %>
<% target_model = bind_model.constantize.find_by(:uid=>bind_uid) rescue nil %>
<% title = target_model.title rescue "" %>
<% @prefix_url = "/#{I18n.locale}#{link_page_url}/#{title}-#{bind_uid}"%>
<% end %>
<% end %>
<% unless node.nil? %>