Blame view

client/routes/routes-public.coffee 675 Bytes
d1f4dbea8   Ryan Glover   Additional README...
1
  Router.map(->
5f6f6fbb0   Ryan Glover   Clean up spacing....
2
3
4
5
    @route('signup',
      path: '/signup'
      template: 'signup'
      onBeforeAction: ->
45fadbd0b   Ryan Glover   Add UI helper to ...
6
        Session.set 'currentRoute', 'signup'
5f6f6fbb0   Ryan Glover   Clean up spacing....
7
    )
d1f4dbea8   Ryan Glover   Additional README...
8

5f6f6fbb0   Ryan Glover   Clean up spacing....
9
10
11
12
    @route('login',
      path: '/login'
      template: 'login'
      onBeforeAction: ->
45fadbd0b   Ryan Glover   Add UI helper to ...
13
        Session.set 'currentRoute', 'login'
5f6f6fbb0   Ryan Glover   Clean up spacing....
14
    )
d1f4dbea8   Ryan Glover   Additional README...
15

5f6f6fbb0   Ryan Glover   Clean up spacing....
16
17
18
19
    @route('recover-password',
      path: '/recover-password'
      template: 'recoverPassword'
      onBeforeAction: ->
45fadbd0b   Ryan Glover   Add UI helper to ...
20
        Session.set 'currentRoute', 'recover-password'
5f6f6fbb0   Ryan Glover   Clean up spacing....
21
    )
d1f4dbea8   Ryan Glover   Additional README...
22

5f6f6fbb0   Ryan Glover   Clean up spacing....
23
    @route('reset-password',
2cfb4bd0e   Ryan Glover   Add password reco...
24
      path: '/reset-password/:token'
5f6f6fbb0   Ryan Glover   Clean up spacing....
25
26
      template: 'resetPassword'
      onBeforeAction: ->
45fadbd0b   Ryan Glover   Add UI helper to ...
27
        Session.set 'currentRoute', 'reset-password'
2cfb4bd0e   Ryan Glover   Add password reco...
28
        Session.set 'resetPasswordToken', @params.token
5f6f6fbb0   Ryan Glover   Clean up spacing....
29
    )
d1f4dbea8   Ryan Glover   Additional README...
30
  )