Fixed problems in interacting of acts_as_versioned and optimistic locking.
This commit is contained in:
parent
2660d86b89
commit
255a4cd6c7
5 changed files with 9 additions and 10 deletions
|
|
@ -5,7 +5,7 @@
|
|||
%ul
|
||||
%li= "Autor: #{User.find(@version.updated_by).nick}"
|
||||
%li= link_to "Aktuelle Version sehen", wiki_page_path(:permalink => @page.permalink)
|
||||
%li= link_to "Auf diese Version zurücksetzen", revert_page_path(@page, :version => @version.version)
|
||||
%li= link_to "Auf diese Version zurücksetzen", revert_page_path(@page, :version => @version.lock_version)
|
||||
|
||||
= wikified_body @version.body
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue