Class: AlchemyCrm::Admin::ContactGroupsController
- Inherits:
-
BaseController
- Object
- Alchemy::Admin::ResourcesController
- BaseController
- AlchemyCrm::Admin::ContactGroupsController
- Defined in:
- app/controllers/alchemy_crm/admin/contact_groups_controller.rb
Instance Method Summary collapse
Methods included from I18nHelpers
#alchemy_crm_t, #i18n_t, included, #translate_model_attribute
Instance Method Details
#add_filter ⇒ Object
8 9 10 11 12 |
# File 'app/controllers/alchemy_crm/admin/contact_groups_controller.rb', line 8 def add_filter @contact_group = ContactGroup.find(params[:contact_group_id]) @filter = @contact_group.filters.build @count = @contact_group.filters.length - 1 end |