files_controller.rb revision afd1d888784385307c9c0544597a513c2008d342
# TODO: the query_string check should be done in the iri router
end
#consider file_base!
else
end
end
end
end
end
def history
@per_page = 25
if repository.empty?
@commits = []
else
end
end
end
if resource.valid?
else
end
else
end
end
if resource.valid?
else
end
end
end
end
end
end
end
end
end
end
end
end
end
# OWL API sends those two http accept headers in different requests:
# application/rdf+xml, application/xml; q=0.5, text/xml; q=0.3, */*; q=0.2
# The latter conflicts with what browsers send.
(accepts.present? && accepts.first != Mime::HTML) ||
end
end
end