refactor user menu item template locations

This commit is contained in:
2014-09-05 13:59:32 +02:00
parent 76525bbfd4
commit be3d0f635a
5 changed files with 2 additions and 3 deletions
@@ -1,6 +1,6 @@
App.MenuItemListNeedsHelpView = Ember.View.extend Ember.ViewTargetActionSupport,
action: 'listNeedsHelp'
templateName: "menu_item_list_needs_help"
templateName: "menu/list_needs_help"
classNames: 'menu-list-item callout'
classNameBindings: ['controller.list.needs_help:active']
click: ->
@@ -10,6 +10,5 @@ App.MenuItemView = Ember.View.extend
if @get('controller.currentPath') == @route then 'active' else ''
).property('controller.currentPath')
init: ->
@templateName = "menu_item_#{@route}"
@templateName = "menu/#{@route}"
@_super()