Cross Reference: logic_mappings_controller.rb
xref
: /
ontohub
/
app
/
controllers
/
logic_mappings_controller.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
logic_mappings_controller.rb revision 4bf98c649d2e5431f814d6757b109fd201dc3ee1
#
# Controller for LogicMappings
#
class
LogicMappingsController
<
GeneralMappingsController
# belongs_to :source, :class_name => "Logic"
# belongs_to :target, :class_name => "Logic"
load_and_authorize_resource
:
except
=> [:
index
, :
show
]
def
create
@
logic_mapping.user
=
current_user
super
end
def
show
@
adjoints
=
resource.adjoints
end
end