|
|
@@ -3,10 +3,7 @@ class SpecialPricesController < ApplicationController
|
|
|
load_and_authorize_resource
|
|
|
|
|
|
##--- Breadcrum_rails
|
|
|
- add_breadcrumb I18n.t("breadcrumbs." + controller_name), :special_prices_path
|
|
|
add_breadcrumb "Nuevo precio(s) especial", :new_special_price_path, only: :new
|
|
|
- add_breadcrumb "Detalle de precio(s) especial", :special_price_path, only: :show
|
|
|
- add_breadcrumb "Editar precio(s) especial", :edit_special_price_path, only: :edit
|
|
|
|
|
|
before_action :set_special_price, only: [:show, :edit, :update, :destroy]
|
|
|
|