Class: Auth::Shopping::DiscountsController
- Inherits:
-
ShoppingController
- Object
- ShoppingController
- Auth::Shopping::DiscountsController
- Includes:
- Concerns::DeviseConcern, Concerns::Shopping::DiscountControllerConcern, Concerns::TokenConcern
- Defined in:
- app/controllers/auth/shopping/discounts_controller.rb
Constant Summary collapse
- CONDITIONS_FOR_TOKEN_AUTH =
only these actions need an authenticated user to be present for them to be executed. SHOW IS EXCLUDED SO THAT NON SIGNED IN USERS CAN view any discount/ product bundle.
[:create,:update,:destroy,:edit,:new,:index]
- TCONDITIONS =
{:only => CONDITIONS_FOR_TOKEN_AUTH}