app/assets/javascripts/comable/admin/dispatcher.coffee in comable-backend-0.7.0.beta1 vs app/assets/javascripts/comable/admin/dispatcher.coffee in comable-backend-0.7.0.beta2
- old
+ new
@@ -20,9 +20,12 @@
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
+ new Stock
+ when 'variants:show', 'variants:edit', 'variants:update'
+ new Stock
when 'navigations:new', 'navigations:show', 'navigations:edit', 'navigations:update', 'navigations:create'
new Navigation
when 'themes:tree'
new ThemeTree
when 'themes:show_file'