app/assets/javascripts/comable/admin/dispatcher.coffee in comable-backend-0.6.0 vs app/assets/javascripts/comable/admin/dispatcher.coffee in comable-backend-0.7.0.beta1
- old
+ new
@@ -13,9 +13,19 @@
path = page.split(':')
contoller_name = path[0]
action_name = path[1]
switch page
- when 'orders:edit'
+ when 'orders:edit', 'pages:update'
new DynamicOrder
- when 'pages:new', 'pages:show', 'pages:edit'
+ when 'pages:new', 'pages:show', 'pages:edit', 'pages:update', 'pages:create'
new Page
+ when 'products:new', 'products:show', 'products:edit', 'products:update', 'products:create'
+ new Product
+ new Variant
+ when 'navigations:new', 'navigations:show', 'navigations:edit', 'navigations:update', 'navigations:create'
+ new Navigation
+ when 'themes:tree'
+ new ThemeTree
+ when 'themes:show_file'
+ new ThemeTree
+ new ThemeEditor