files_controller.rb revision f71e3ce3df2d0be4d547dd6f5bc4f150727098e0
case @info[:type]
end
end
else
end
end
end
end
end
def history
@per_page = 25
if repository.empty?
@commits = []
else
end
end
end
if build_file.valid?
else
end
else
end
end
repository.save_file @file_changed.file.path, @file_changed.filepath, @file_changed.message, current_user
else
end
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