[auth] renamed AuthView to AuthButtonView

This commit is contained in:
Anna Bodnia
2016-03-03 13:26:53 +02:00
parent 2199a8120c
commit 4fdc174ea0
4 changed files with 6 additions and 6 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);
}