Cross Reference: supports_controller.rb
xref
: /
ontohub
/
app
/
controllers
/
supports_controller.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
supports_controller.rb revision a0b65fd7d17589196751bea546f738c3534c4fac
#
# Controller for Supports
#
class
SupportsController
<
PrivilegeList
::
Base
belongs_to
:
logic
protected
def
authorize_parent
#not needet! but has to be implemented for PrivilegeList
end
def
relation_list
@
relation_list
||=
RelationList.new
[
parent
, :
supports
],
:
model
=>
Support
,
:
collection
=>
parent.supports
,
:
association
=> :
language
,
:
scope
=> [
Language
]
end
end