mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-10-03 17:00:43 -04:00
No longer need to prepend("Qbo")
This commit is contained in:
1 parent
726eb4632e
commit
8d8201822b
1 file changed
-3
@@ -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