We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 297c7c3 + 772ca41 commit 8782de8Copy full SHA for 8782de8
app/models/wiki_page.rb
@@ -50,7 +50,7 @@ def should_create_edit?
50
51
def create_edit
52
return unless should_create_edit?
53
- raise "Cannot update WikiPage with updater not specified" if @updater.blank?
+ raise "Cannot update WikiPage with updater/user/email not specified" if @updater.blank?
54
diff = Diffy::Diff.new(text_was, text)
55
wiki_page_edits << WikiPageEdit.new(
56
user: @updater,
0 commit comments