mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2025-11-08 08:54:23 -05:00
No longer need to prepend("Qbo")
This commit is contained in:
@@ -111,9 +111,6 @@ class QboController < ApplicationController
|
|||||||
entities.each do |entity|
|
entities.each do |entity|
|
||||||
id = entity['id'].to_i
|
id = entity['id'].to_i
|
||||||
name = entity['name']
|
name = entity['name']
|
||||||
|
|
||||||
# TODO rename all other models!
|
|
||||||
name.prepend("Qbo") if not name.eql? "Customer"
|
|
||||||
|
|
||||||
logger.debug "Casting #{name.constantize} to obj"
|
logger.debug "Casting #{name.constantize} to obj"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user