travis-web/app/utils/location.coffee
2015-02-26 17:49:27 +01:00

9 lines
197 B
CoffeeScript

`import Ember from 'ember'`
Location = Ember.HistoryLocation.extend
getURL: ->
location = @get('location')
location.pathname + location.search + location.hash
`export default Location`