]> source.dussan.org Git - redmine.git/commitdiff
Fix show diff of a javascript file in repository module is displayed without layout...
authorMarius Balteanu <marius.balteanu@zitec.com>
Sun, 2 Oct 2022 08:53:09 +0000 (08:53 +0000)
committerMarius Balteanu <marius.balteanu@zitec.com>
Sun, 2 Oct 2022 08:53:09 +0000 (08:53 +0000)
Patch by Trang Tran Thi Quynh.

git-svn-id: https://svn.redmine.org/redmine/trunk@21883 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/controllers/repositories_controller.rb

index ff1230c88306aa3275ee9a72a31b84419bc052e2..56be9d526ac1d3d5809e4aa962abcc7d6e8956eb 100644 (file)
@@ -286,7 +286,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, :layout => 'base'
+      render :diff, :formats => :html, :layout => 'base.html.erb'
     end
   end