From ffa4ec193ebaba698ee6a0f99608ffdfd8a90d57 Mon Sep 17 00:00:00 2001 From: z9hang Date: Tue, 16 Sep 2014 09:22:27 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=BA=E9=99=B7=E6=8F=8F=E8=BF=B0=E4=BF=AE?= =?UTF-8?q?=E6=94=B9=E5=90=8E=E6=9F=A5=E7=9C=8B=E7=BB=86=E8=8A=82=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E5=AF=BC=E8=88=AA=E6=A0=8F=E4=B8=A2=E5=A4=B1=EF=BC=8C?= =?UTF-8?q?=E5=8E=9F=E5=9B=A0=EF=BC=9A=E4=B8=BA=E6=B7=BB=E5=8A=A0layout?= =?UTF-8?q?=EF=BC=8C=E8=A7=A3=E5=86=B3=EF=BC=9A=E5=8A=A0=E4=B8=8Alayout?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/journals_controller.rb | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app/controllers/journals_controller.rb b/app/controllers/journals_controller.rb index 28505a047..77ee9d648 100644 --- a/app/controllers/journals_controller.rb +++ b/app/controllers/journals_controller.rb @@ -54,6 +54,11 @@ class JournalsController < ApplicationController end (render_404; return false) unless @issue && @detail @diff = Redmine::Helpers::Diff.new(@detail.value, @detail.old_value) + respond_to do |format| + format.html { + render :layout => 'project_base' + } + end end def new