90 91 92 93 94
# File 'app/models/burp/page_model.rb', line 90 def remove raise "Path must start with a slash '/'" unless path.start_with?("/") remove_dir Burp::Util.commit("Removed #{self.path}") end