Permalink
Browse files

fix the template for process with nil root expression

  • Loading branch information...
1 parent 4d88655 commit e5aaa2ab600e031d9a4ab5eb989ba60e19375bf0 Islam Amer committed Dec 15, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/ruote-kit/views/process.html.haml
@@ -55,12 +55,14 @@
%td
launch time
%td
- = Time.parse(@process.launched_time).localtime.strftime('%Y/%m/%d %H:%M:%S')
+ - if @process.launched_time
+ = Time.parse(@process.launched_time).localtime.strftime('%Y/%m/%d %H:%M:%S')
%tr
%td
last active
%td
- = Time.parse(@process.last_active).localtime.strftime('%Y/%m/%d %H:%M:%S')
+ - if @process.last_active
+ = Time.parse(@process.last_active).localtime.strftime('%Y/%m/%d %H:%M:%S')
%tr
%td
root exp state

0 comments on commit e5aaa2a

Please sign in to comment.