Rollbacks and Relative URLs
Ensure "rollback" locks page for editing. (reported by Toby Bartels) Generate relative URLs, when possible. (Patch by Dennis Knauf)
This commit is contained in:
parent
698daecf0e
commit
0e0f666fb4
3 changed files with 15 additions and 14 deletions
|
@ -250,6 +250,7 @@ class WikiController < ApplicationController
|
|||
|
||||
def rollback
|
||||
get_page_and_revision
|
||||
@page.lock(Time.now, @author)
|
||||
end
|
||||
|
||||
def save
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue