21 lines
		
	
	
		
			431 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			431 B
		
	
	
	
		
			Ruby
		
	
	
	
	
	
| require "commands/bootstrap_templates"
 | |
| 
 | |
| module Devops
 | |
|   module Version2_0
 | |
|     module Handler
 | |
|       class BootstrapTemplates
 | |
|         extend BootstrapTemplatesCommands
 | |
| 
 | |
|         def self.get_bootstrap_templates
 | |
|           lambda {
 | |
|             check_privileges("templates", "r")
 | |
| #            broadcast(:cancel_order_failed, "hello")
 | |
|             json BootstrapTemplates.get_templates
 | |
|           }
 | |
|         end
 | |
|       end
 | |
|     end
 | |
|   end
 | |
| end
 | |
| 
 | 
