Skip to content

Commit a9b64d5

Browse files
committed
Fixes for experiments table issues: Issues #488 and #581.
1 parent 27e8a35 commit a9b64d5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/models/experiment.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
class Experiment < ActiveRecord::Base
2+
attr_protected []
23

34
extend SimpleSearch
45

app/views/layouts/application.html.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@
178178
<li><%= link_to "Citations", citations_path %></li>
179179
<li><%= link_to "Covariates", covariates_path %></li>
180180
<li><%= link_to "Cultivars", cultivars_path %></li>
181+
<li><%= link_to "Experiments", experiments_path %></li>
181182
<li><%= link_to "Managements", managements_path %></li>
182183
<% if current_user.page_access_level <= 2 %>
183184
<li><%= link_to "Methods", methods_path %></li>

0 commit comments

Comments
 (0)