proofs_controller.rb revision 7c409f3db0d1365074624cf7ddc945d5f0034152
end
if resource.valid?
else
redirect_to(action: :new)
end
end
end
end
if resource.theorem?
@redirect_chain << resource.proof_obligation
else
@redirect_chain << :theorems
end
end
def check_write_permissions
authorize! :write, ontology.repository
end
end