diff options
author | Shinya Maeda <gitlab.shinyamaeda@gmail.com> | 2017-04-07 13:24:20 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2017-04-07 17:17:28 +0300 |
commit | 2f5095c2546af30da152e85a499c98d608465988 (patch) | |
tree | b202de4ec000902ccba15323db1f8835e82543b2 /app/views/projects/triggers | |
parent | 4131ed2bd85d3efdfe0e27d47ffc95567dae11af (diff) |
Add def trigger_schedule in Trigger. Use persisted? for checling existance
Diffstat (limited to 'app/views/projects/triggers')
-rw-r--r-- | app/views/projects/triggers/_trigger.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/triggers/_trigger.html.haml b/app/views/projects/triggers/_trigger.html.haml index 87d7c741bd6..9ab0cd3486c 100644 --- a/app/views/projects/triggers/_trigger.html.haml +++ b/app/views/projects/triggers/_trigger.html.haml @@ -30,7 +30,7 @@ Never %td - - if trigger.trigger_schedule.present? + - if trigger.trigger_schedule.persisted? = trigger.trigger_schedule.real_next_run - else N/A (External trigger) |