Cross Reference: language_mappings_controller.rb
xref
: /
ontohub
/
app
/
controllers
/
language_mappings_controller.rb
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
#
# Controller for LanguageMappings
#
class
LanguageMappingsController
<
GeneralMappingsController
# belongs_to :source, :class_name => "Language"
# belongs_to :target, :class_name => "Language"
load_and_authorize_resource
:
except
=> [:
index
, :
show
]
def
create
@
language_mapping.user
=
current_user
super
end
def
show
@
adjoints
=
resource.adjoints
end
end