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:
Jacques Distler 2009-07-27 22:49:12 -05:00
parent 698daecf0e
commit 0e0f666fb4
3 changed files with 15 additions and 14 deletions

View file

@ -250,6 +250,7 @@ class WikiController < ApplicationController
def rollback
get_page_and_revision
@page.lock(Time.now, @author)
end
def save