缺陷描述修改后查看细节页面导航栏丢失,原因:为添加layout,解决:加上layout

This commit is contained in:
z9hang 2014-09-16 09:22:27 +08:00
parent 3dca2185be
commit ffa4ec193e
1 changed files with 5 additions and 0 deletions

View File

@ -54,6 +54,11 @@ class JournalsController < ApplicationController
end end
(render_404; return false) unless @issue && @detail (render_404; return false) unless @issue && @detail
@diff = Redmine::Helpers::Diff.new(@detail.value, @detail.old_value) @diff = Redmine::Helpers::Diff.new(@detail.value, @detail.old_value)
respond_to do |format|
format.html {
render :layout => 'project_base'
}
end
end end
def new def new