Class: Admin::TaxCategoriesController
- Inherits:
-
ResourceController
- Object
- ResourceController
- Admin::TaxCategoriesController
- Defined in:
- app/controllers/admin/tax_categories_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/admin/tax_categories_controller.rb', line 3 def index if Spree::Config[:show_price_inc_vat] and (TaxCategory.where(:is_default => true).count != 1) flash.notice = "You should configure exactly one default category with your countries default tax rate" end end |