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