1
0

Created ingredients controller

command: rails generate redmine_plugin_controller body_tracking
ingredients index create destroy
This commit is contained in:
cryptogopher
2019-09-13 14:03:39 +02:00
parent 7062652d0d
commit c916e7fd3c
10 changed files with 80 additions and 2 deletions

View File

@@ -3,6 +3,11 @@
<li><%= link_to t(".link_summary"), project_body_trackers_path(@project) %></li>
</ul>
<h3><%= t ".heading_diet" %></h3>
<ul>
<li><%= link_to t(".link_ingredients"), project_ingredients_path(@project) %></li>
</ul>
<h3><%= t ".heading_common" %></h3>
<ul>
<li><%= link_to t(".link_quantities"), project_quantities_path(@project) %></li>
@@ -12,4 +17,3 @@
<li><p><%= link_to t(".link_defaults"), defaults_project_body_trackers_path(@project),
method: :post, data: {confirm: t(".confirm_defaults")} %></li>
<% end %>
</ul>