Class: OfficeController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- OfficeController
- Includes:
- OfficeHelper
- Defined in:
- app/controllers/office_controller.rb
Direct Known Subclasses
Instance Method Summary collapse
Methods included from OfficeHelper
#best_euros, #current_basket, #current_basket_or_nil, #current_clerk, #date, #euros, #has_ssl?, #markdown, #new_basket, #paginate, #shipping_method
Instance Method Details
#error ⇒ Object
9 10 11 12 |
# File 'app/controllers/office_controller.rb', line 9 def error logger.info "Error" + request.url redirect_to "/" end |