Class: Store::PassesController
- Inherits:
-
StoreController
- Object
- StoreController
- Store::PassesController
- Defined in:
- app/controllers/store/passes_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/store/passes_controller.rb', line 8 def index render :nothing => true unless store_organization.can? :access, :passes @pass_types = store_organization.pass_types.storefront.order('price desc') @passes_kit = PassesKit.where(:organization_id => store_organization.id).first end |