From 0c51f7bc8b4295d3d3c72cb6c2f0a2e114434010 Mon Sep 17 00:00:00 2001 From: Jure Grabnar Date: Wed, 3 Aug 2016 13:15:40 +0200 Subject: [PATCH] Saving/editing of reports now works --- app/helpers/reports_helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/helpers/reports_helper.rb b/app/helpers/reports_helper.rb index 4edbaabab..552dd26a6 100644 --- a/app/helpers/reports_helper.rb +++ b/app/helpers/reports_helper.rb @@ -38,6 +38,8 @@ def render_report_element(element, provided_locals = nil) if element.project_header? locals[:project] = element.element_reference + elsif element.experiment? + locals[:experiment] = element.element_reference elsif element.my_module? locals[:my_module] = element.element_reference elsif element.step?