diff --git a/app/assets/javascripts/discourse/views/user-badges.js.es6 b/app/assets/javascripts/discourse/views/user-badges.js.es6 index f0b0ceb85..c0d067190 100644 --- a/app/assets/javascripts/discourse/views/user-badges.js.es6 +++ b/app/assets/javascripts/discourse/views/user-badges.js.es6 @@ -1,3 +1,4 @@ import ScrollTop from 'discourse/mixins/scroll-top'; +import { createViewWithBodyClass } from 'discourse/lib/create-view'; -export default Ember.View.extend(ScrollTop); +export default createViewWithBodyClass('user-badges-page').extend(ScrollTop);