Add classes to application and dashboard views

This commit is contained in:
Piotr Sarnacki 2015-01-15 12:58:07 +01:00
parent 03ef70c82a
commit eb00c7104e
2 changed files with 2 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Travis.reopen
ApplicationView: Travis.View.extend
classNames: ['application']
click: (event) ->
# TODO: this solves the case of closing menus and popups,
# but I would like to rewrite it later, not sure how

View File

@ -4,5 +4,6 @@ TravisView = Travis.View
View = TravisView.extend
layoutName: 'layouts/dashboard'
classNames: ['dashboard']
Travis.DashboardView = View