we are going to fix this by automatically generating data for ppl that register HOWEVER, just in case that fails for some reason, I have applied a filter that ensures if some data is not associated with a person they cannot navigate to all aspects of the application. This is a preventive measure
This commit is contained in:
@@ -4,7 +4,9 @@
|
||||
|
||||
<div class="row-fluid">
|
||||
<div class="span12"> <!--begin span12 -->
|
||||
<%= render :partial => "layouts/dashboard/dashboard_stats"%>
|
||||
<% if @user.paid_time_off %>
|
||||
<%= render :partial => "layouts/dashboard/dashboard_stats"%>
|
||||
<% end %>
|
||||
</div> <!-- end span12 -->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user