Class: Workarea::Api::Storefront::ApplicationController
- Inherits:
-
Workarea::ApplicationController
- Object
- Workarea::ApplicationController
- Workarea::Api::Storefront::ApplicationController
- Includes:
- Authentication, UserActivity, Storefront::HttpCaching
- Defined in:
- app/controllers/workarea/api/storefront/application_controller.rb
Direct Known Subclasses
AccountsController, AssetsController, AuthenticationTokensController, CartItemsController, CartsController, CategoriesController, CheckoutsController, ContactsController, EmailSignupsController, MenusController, OrdersController, PagesController, PasswordResetsController, ProductsController, RecentViewsController, RecommendationsController, SavedAddressesController, SavedCreditCardsController, SearchesController, SystemContentController, TaxonsController
Instance Method Summary collapse
Methods included from UserActivity
#assert_current_user_activity_id, #current_user_activity_id, #user_activity
Methods included from Authentication
#authentication?, #current_user
Instance Method Details
#cache_page ⇒ Object
23 24 25 |
# File 'app/controllers/workarea/api/storefront/application_controller.rb', line 23 def cache_page expires_in Workarea.config.page_cache_ttl, public: true end |
#skip_session ⇒ Object
27 28 29 |
# File 'app/controllers/workarea/api/storefront/application_controller.rb', line 27 def skip_session request.[:skip] = true end |