Update issues_form_hook_listener.rb

Updating to the following conventions
https://github.com/bbatsov/ruby-style-guide
This commit is contained in:
2016-01-21 12:09:40 -05:00
parent 2aad7115c4
commit 5e635f9e2b

View File

@@ -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