       @next()
 
 
-  @route 'createTemplate',
-    path: '/template/create'
-    onBeforeAction: ->
-      if Meteor.settings.public.environment == "prod"
-        GARecordPage('/template/create')
-      Meteor.call("syncProfile")
-      @next()
-
-
   @route 'viewTemplate',
-    path: '/template/:_id/view'
+    path: '/manage/:_id'
     waitOn: ->
       Meteor.subscribe 'Template'
       Meteor.subscribe 'sharedTemplate'

      template: Template.findOne(this.params._id)
    onBeforeAction: ->
      if Meteor.settings.public.environment == "prod"
        GARecordPage('/template/:_id/view')
      Meteor.call("syncProfile")
      @next()


      @next()


  @route 'createTemplate',
    path: '/template/create'
    onBeforeAction: ->
      if Meteor.settings.public.environment == "prod"
        GARecordPage('/template/create')
      Meteor.call("syncProfile")
      @next()
      

  @route 'manageTemplates',
    path: '/manage'
    waitOn: ->
