Generate Breadcrumb for only for modules where module_apps are clearly defined

This commit is contained in:
saurabhbhatia 2013-08-19 09:38:22 +08:00
parent bbb765c88d
commit 7dfd5d7e00
1 changed files with 3 additions and 0 deletions

View File

@ -24,7 +24,10 @@
<div class="wrap-inner"> <div class="wrap-inner">
<div id="filter" class="topnav clearfix"> <div id="filter" class="topnav clearfix">
<ul class="breadcrumb text-info pull-left"> <ul class="breadcrumb text-info pull-left">
<% if @module_app.present?%>
<%= back_end_breadcrumb %> <%= back_end_breadcrumb %>
<%else%>
<%end%>
</ul> </ul>
<%= yield :right_nav %> <%= yield :right_nav %>
</div> </div>