@@ -109,7 +109,7 class WikiController < ApplicationController | |||||
109 |
|
109 | |||
110 | # To prevent StaleObjectError exception when reverting to a previous version |
|
110 | # To prevent StaleObjectError exception when reverting to a previous version | |
111 | @content.version = @page.content.version |
|
111 | @content.version = @page.content.version | |
112 |
|
112 | |||
113 | @text = @content.text |
|
113 | @text = @content.text | |
114 | if params[:section].present? && Redmine::WikiFormatting.supports_section_edit? |
|
114 | if params[:section].present? && Redmine::WikiFormatting.supports_section_edit? | |
115 | @section = params[:section].to_i |
|
115 | @section = params[:section].to_i |
General Comments 0
You need to be logged in to leave comments.
Login now