Blame view

client/routes/routes-authenticated.coffee 282 Bytes
d1f4dbea8   Ryan Glover   Additional README...
1
2
3
4
5
6
7
8
9
10
11
  Router.map(->
      ###
          @route('exampleAuthenticatedRoute',
              path: '/example'
              template: 'example'
              layoutTemplate: 'customLayoutExample'
              onBeforeAction: ->
                  # Code to run before route goes here.
          )
      ###
  )