fix routes on client
This commit is contained in:
parent
947088eaca
commit
394134798d
@ -39,7 +39,7 @@ class StackTemplate < Handler
|
||||
q[:template_body] = get_file_contents(filepath)
|
||||
|
||||
json = JSON.pretty_generate(q)
|
||||
post_body('/stack_template', json) if question(I18n.t('handler.stack_template.question.create')){puts json}
|
||||
post_body("/stack_template/#{q[:provider]}", json) if question(I18n.t('handler.stack_template.question.create')){puts json}
|
||||
end
|
||||
|
||||
def list_handler(provider=nil)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user