app/controllers/plugins/ecommerce/admin_controller.rb in camaleon_ecommerce-1.2 vs app/controllers/plugins/ecommerce/admin_controller.rb in camaleon_ecommerce-1.2.1
- old
+ new
@@ -31,9 +31,9 @@
redirect_to action: :product_attributes
end
private
def verify_ecommerce_permission
- authorize! :posts, get_commerce_post_type
- add_breadcrumb I18n.t("plugin.ecommerce.e_commerce", default: 'Ecommerce'), admin_plugins_ecommerce_index_path
+ authorize! :posts, cama_ecommerce_post_type
+ add_breadcrumb I18n.t("plugins.ecommerce.e_commerce", default: 'Ecommerce'), admin_plugins_ecommerce_index_path
end
end