Skip to content

Commit

Permalink
Merge pull request #726 from himdel/credentials-vmscope
Browse files Browse the repository at this point in the history
Fix all users of CredentialsController to provide vm-scope
  • Loading branch information
mzazrivec committed Mar 20, 2017
2 parents 295ad88 + ea7987d commit 6b79e9b
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -4,7 +4,7 @@
- vm_scope ||= false
- main_scope = vm_scope ? "$parent.vm" : "$parent"

%div{"ng-controller" => "CredentialsController"}
%div{"ng-controller" => "CredentialsController", "vm-scope" => main_scope}
%div{"ng-show" => ng_show}
.form-group{"ng-class" => "{'has-error': angularForm.service_account.$invalid}"}
%label.col-md-2.control-label{"for" => "service_account"}
Expand Down

0 comments on commit 6b79e9b

Please sign in to comment.