router_constraints.rb revision 03ec1d0391beb40e0ae66a73cf99554e1ca6fa15
end
end
end
end
return result
end
end
end
end
super()
end
result = !ontology.nil?
if result
path_params[@map[:ontology]] = ontology.id if @map[:ontology]
path_params[@map[:element]] = element.id if @map[:element]
end
return result
end
end
end
end
# Prune ref-portion
end
end
result = !ontology.nil?
if result
end
return result
end
end
# remove the ref/:version_number portion from path
end
end
super()
end
# In some cases request.accepts == [nil] (e.g. cucumber tests),
# in these cases we will default to true.
highest_mime ? mime_types.any? { |m| highest_mime == m } : true
end
end
end
end
end