summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2020-02-27 01:19:11 +0000
committerGo MAEDA <maeda@farend.jp>2020-02-27 01:19:11 +0000
commitcc900c0e070e5d9717d256b4d21275da430354e7 (patch)
treea6b3d239328b312a9d90c61e49b994a988c7d38a
parent6a6e19e86edef44a8bf88451981e8bb3b7925aed (diff)
downloadredmine-cc900c0e070e5d9717d256b4d21275da430354e7.tar.gz
redmine-cc900c0e070e5d9717d256b4d21275da430354e7.zip
Diff view for .js files in repositories is broken (#32449).
Patch by Mizuki ISHIKAWA. git-svn-id: http://svn.redmine.org/redmine/trunk@19531 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/controllers/repositories_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index 269bc70a0..8350b4d48 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -269,7 +269,7 @@ class RepositoriesController < ApplicationController
@changeset = @repository.find_changeset_by_name(@rev)
@changeset_to = @rev_to ? @repository.find_changeset_by_name(@rev_to) : nil
@diff_format_revisions = @repository.diff_format_revisions(@changeset, @changeset_to)
- render :diff, :formats => :html
+ render :diff, :formats => :html, :layout => 'base.html.erb'
end
end