Moved sidebar rendering to layout
This commit is contained in:
@@ -1,7 +1,3 @@
|
||||
<% content_for :sidebar do %>
|
||||
<%= render partial: 'body_trackers/sidebar' %>
|
||||
<% end %>
|
||||
|
||||
<div class="contextual">
|
||||
<%= link_to t(".heading_nutrient_view"), nutrients_project_ingredients_path(@project),
|
||||
class: 'icon icon-stats' %>
|
||||
|
||||
@@ -1,7 +1,3 @@
|
||||
<% content_for :sidebar do %>
|
||||
<%= render partial: 'body_trackers/sidebar' %>
|
||||
<% end %>
|
||||
|
||||
<div class="contextual">
|
||||
<%= link_to t(".heading_ingredient_list"), project_ingredients_path(@project),
|
||||
class: 'icon icon-list' %>
|
||||
|
||||
Reference in New Issue
Block a user