Disable landing page on pro for now

This commit is contained in:
Piotr Sarnacki 2015-04-15 09:19:37 +02:00
parent 203fbcea8a
commit 36be656c62

View File

@ -1,4 +1,5 @@
`import Ember from 'ember'`
`import config from 'travis/config/environment'`
Location = Ember.HistoryLocation.extend
init: ->
@ -12,6 +13,7 @@ Location = Ember.HistoryLocation.extend
getURL: ->
url = this._super.apply(this, arguments)
unless config.pro
if location.pathname == '/'
if @get('auth.signedIn')
return '/repositories'