[auth] Fixed applying api key

This commit is contained in:
Anna Bodnia
2016-03-07 21:15:12 +02:00
parent 3b246024d7
commit 0644f7611a
14 changed files with 7264 additions and 1364 deletions
+1 -1
View File
@@ -88,7 +88,7 @@ SwaggerUi.Views.MainView = Backbone.View.extend({
this.model.securityDefinitions = this.model.securityDefinitions || {};
if (this.model.securityDefinitions) {
this.authView = new SwaggerUi.Views.AuthView({model: this.model.securityDefinitions});
this.authView = new SwaggerUi.Views.AuthView({model: this.model.securityDefinitions, router: this.router});
this.$('.authorize-wrapper').append(this.authView.render().el);
}