Fixed bug on wiki page when an author was deleted.
This commit is contained in:
parent
be321798a7
commit
833862df93
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@
|
|||
- for version in @page.versions.reverse
|
||||
%li
|
||||
= link_to I18n.l(version.updated_at, :format => "%d.%m.%y %H:%M"), version_page_path(@page, :version => version.lock_version)
|
||||
= "(#{User.find(version.updated_by).nick})"
|
||||
= "(#{User.find_by_id(version.updated_by).try(:nick)})"
|
||||
|
||||
- unless @page.children.empty?
|
||||
#subpages{:style => "display:none"}
|
||||
|
|
Loading…
Reference in a new issue