[auth] renamed AuthView to AuthButtonView

This commit is contained in:
Anna Bodnia
2016-03-03 13:26:53 +02:00
parent 1861ac27ca
commit 0e698af5b1
5 changed files with 27 additions and 76 deletions

View File

@@ -93,7 +93,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
authsModel = { auths: this.model.securityDefinitions };
authsModel.isLogout = !_.isEmpty(window.swaggerUi.api.clientAuthorizations.authz);
this.authView = new SwaggerUi.Views.AuthView({model: authsModel, router: this.router});
this.authView = new SwaggerUi.Views.AuthButtonView({model: authsModel, router: this.router});
this.$('.authorize-wrapper').append(this.authView.render().el);
}