app/controllers/plugins/ecommerce/admin/coupons_controller.rb in camaleon_ecommerce-0.0.4 vs app/controllers/plugins/ecommerce/admin/coupons_controller.rb in camaleon_ecommerce-1.1
- old
+ new
@@ -13,18 +13,18 @@
@coupons = current_site.coupons.paginate(:page => params[:page], :per_page => current_site.admin_per_page)
end
def new
@coupon = current_site.coupons.new
- admin_breadcrumb_add("#{t('plugin.ecommerce.new')}")
+ add_breadcrumb("#{t('plugin.ecommerce.new')}")
render 'form'
end
def show
end
def edit
- admin_breadcrumb_add("#{t('camaleon_cms.admin.button.edit')}")
+ add_breadcrumb("#{t('camaleon_cms.admin.button.edit')}")
render 'form'
end
def create
data = params[:plugins_ecommerce_coupon]