From 5e635f9e2b899225afe6a280b99ddace72ef9333 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Thu, 21 Jan 2016 12:09:40 -0500 Subject: [PATCH] Update issues_form_hook_listener.rb Updating to the following conventions https://github.com/bbatsov/ruby-style-guide --- lib/issues_form_hook_listener.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/issues_form_hook_listener.rb b/lib/issues_form_hook_listener.rb index e578ddb..37b3bc2 100644 --- a/lib/issues_form_hook_listener.rb +++ b/lib/issues_form_hook_listener.rb @@ -19,7 +19,7 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener QboItem.update_all # Check to see if there is a quickbooks user attached to the issue - if not context[:issue].qbo_customer_id.nil? then + if not context[:issue].qbo_customer_id.nil? selected_customer = context[:issue].qbo_customer_id selected_item = context[:issue].qbo_item_id end @@ -32,4 +32,4 @@ class IssuesFormHookListener < Redmine::Hook::ViewListener return "

#{select_customer}

#{select_item}

" end -end \ No newline at end of file +end