17 lines
385 B
CoffeeScript
17 lines
385 B
CoffeeScript
`import TravisRoute from 'travis/routes/basic'`
|
|
|
|
Route = TravisRoute.extend
|
|
titleToken: 'Profile'
|
|
|
|
needsAuth: true
|
|
|
|
setupController: (controller, model) ->
|
|
@controllerFor('accounts').set('model', model)
|
|
|
|
renderTemplate: ->
|
|
$('body').attr('id', 'profile')
|
|
@_super.apply(this, arguments)
|
|
@render 'loading', outlet: 'left', into: 'profile'
|
|
|
|
`export default Route`
|