less magic numbers

This commit is contained in:
Sam Saffron 2013-02-13 22:01:16 +11:00
parent 93846aecb1
commit 329f4617a9
1 changed files with 2 additions and 2 deletions

View File

@ -9,9 +9,9 @@ window.Discourse.UserPrivateMessagesView = Ember.View.extend
inbox: (evt)->
@selectCurrent(evt)
@set('controller.filter', 13)
@set('controller.filter', Discourse.UserAction.GOT_PRIVATE_MESSAGE)
sentMessages: (evt) ->
@selectCurrent(evt)
@set('controller.filter', 12)
@set('controller.filter', Discourse.UserAction.NEW_PRIVATE_MESSAGE)