Fixed ticket create screens.
This commit is contained in:
parent
9112850983
commit
1167f7a457
2 changed files with 15 additions and 3 deletions
|
@ -8,7 +8,7 @@ class ObjectManagerAttributesController < ApplicationController
|
|||
def list
|
||||
return if deny_if_not_role('Admin')
|
||||
render :json => {
|
||||
:objects => ObjectManager.listObjects,
|
||||
:objects => ObjectManager.listFrontendObjects,
|
||||
}
|
||||
#model_index_render(ObjectManager::Attribute, params)
|
||||
end
|
||||
|
|
|
@ -4,14 +4,26 @@ class ObjectManager
|
|||
|
||||
=begin
|
||||
|
||||
add a new activity entry for an object
|
||||
list all backend managed object
|
||||
|
||||
ObjectManager.listObjects()
|
||||
|
||||
=end
|
||||
|
||||
def self.listObjects
|
||||
['Ticket', 'TicketArticle', 'User', 'Organization' ] #, 'Group' ]
|
||||
['Ticket', 'TicketArticle', 'User', 'Organization', 'Group' ]
|
||||
end
|
||||
|
||||
=begin
|
||||
|
||||
list all frontend managed object
|
||||
|
||||
ObjectManager.listFrontendObjects()
|
||||
|
||||
=end
|
||||
|
||||
def self.listFrontendObjects
|
||||
['Ticket', 'User', 'Organization' ] #, 'Group' ]
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue