diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-10-02 08:53:09 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-10-02 08:53:09 +0000 |
commit | dc54c7a72129127d410b7f69b683e88ade2103e0 (patch) | |
tree | 27ae516f032bdf558810ea6c7e70c1c7d6616d84 /app/controllers/repositories_controller.rb | |
parent | 8bab80892823839b6c7a835d84ee31760aab7346 (diff) | |
download | redmine-dc54c7a72129127d410b7f69b683e88ade2103e0.tar.gz redmine-dc54c7a72129127d410b7f69b683e88ade2103e0.zip |
Fix show diff of a javascript file in repository module is displayed without layout (#37626).
Patch by Trang Tran Thi Quynh.
git-svn-id: https://svn.redmine.org/redmine/trunk@21883 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/controllers/repositories_controller.rb')
-rw-r--r-- | app/controllers/repositories_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb index ff1230c88..56be9d526 100644 --- a/app/controllers/repositories_controller.rb +++ b/app/controllers/repositories_controller.rb @@ -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 |