From 70d9d5063a61559ba889a942ce201cc31fcb0871 Mon Sep 17 00:00:00 2001 From: Ricky Barrette Date: Wed, 9 Mar 2022 18:25:07 -0500 Subject: [PATCH] Moved issues show details to issue folder --- .../_show_details.html.erb} | 0 lib/issues_show_hook_listener.rb | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) rename app/views/{qbo/_issues_show_details.html.erb => issues/_show_details.html.erb} (100%) diff --git a/app/views/qbo/_issues_show_details.html.erb b/app/views/issues/_show_details.html.erb similarity index 100% rename from app/views/qbo/_issues_show_details.html.erb rename to app/views/issues/_show_details.html.erb diff --git a/lib/issues_show_hook_listener.rb b/lib/issues_show_hook_listener.rb index 470816d..8b8cb86 100644 --- a/lib/issues_show_hook_listener.rb +++ b/lib/issues_show_hook_listener.rb @@ -1,6 +1,6 @@ #The MIT License (MIT) # -#Copyright (c) 2017 rick barrette +#Copyright (c) 2022 rick barrette # #Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: # @@ -48,7 +48,7 @@ class IssuesShowHookListener < Redmine::Hook::ViewListener split_vin = vin.scan(/.{1,9}/) if vin context[:controller].send(:render_to_string, { - :partial => 'qbo/issues_show_details', + :partial => 'issues/show_details', locals: { customer: customer, estimate_link: estimate_link,