proofs_controller.rb revision 543c1be79aecb1d19f3bd50d8581da5c1cd0893b
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagherclass ProofsController < InheritedResources::Base
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher flash[:success] = t('proofs.create.starting_jobs')
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher flash[:alert] = t('proofs.create.invalid_resource')
505e75ba28b42bb3de7a6d55de825091b70cc2b2Stephen Gallagher @redirect_chain << resource.proof_obligation
949fbc93defad394648b2651b43a7bbfa5bff42bSumit Bose @redirect_chain << :theorems
949fbc93defad394648b2651b43a7bbfa5bff42bSumit Bose def check_write_permissions
949fbc93defad394648b2651b43a7bbfa5bff42bSumit Bose authorize! :write, ontology.repository