travis-web/app/utils/location.coffee
2015-02-05 12:40:06 +01:00

9 lines
179 B
CoffeeScript

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