From ed948cca7f169854a7f353bc03cfbfd04598d5e7 Mon Sep 17 00:00:00 2001 From: David Kang Date: Fri, 30 Aug 2019 12:11:12 +0200 Subject: [PATCH] Use correct partial path We moved all the shared partials into `webui/shared` directory. --- src/api/app/controllers/webui/request_controller.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/api/app/controllers/webui/request_controller.rb b/src/api/app/controllers/webui/request_controller.rb index 74d677b84de..00788269086 100644 --- a/src/api/app/controllers/webui/request_controller.rb +++ b/src/api/app/controllers/webui/request_controller.rb @@ -121,10 +121,10 @@ def show end def sourcediff - render partial: 'shared/editor', locals: { text: params[:text], - mode: 'diff', style: { read_only: true }, - height: 'auto', width: '750px', - no_border: true, uid: params[:uid] } + render partial: 'webui/shared/editor', locals: { text: params[:text], + mode: 'diff', style: { read_only: true }, + height: 'auto', width: '750px', + no_border: true, uid: params[:uid] } end def changerequest