iachat/enterprise/app/controllers/api/v1/accounts
Aakash Bakhle 14df7b3bc1
fix: ai-assist 404 on CE (#13891)
# Pull Request Template

## Description

Relocate controller from enterprise/ to app/ and add
Api::V1::Accounts::Captain::TasksController.prepend_mod_with for EE
overrides.

Fixes: Ai assist giving 404 on CE

## Type of change

- [x] Bug fix (non-breaking change which fixes an issue)

## How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide
instructions so we can reproduce. Please also list any relevant details
for your test configuration.

before:
<img width="482" height="130" alt="image"
src="https://github.com/user-attachments/assets/f51dc28a-ac54-45c4-9015-6f956fdf5057"
/>

after:
<img width="458" height="182" alt="image"
src="https://github.com/user-attachments/assets/eb86a679-5482-4157-9f4e-f3e9953d8649"
/>


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged and published in downstream
modules

Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
2026-03-24 16:58:11 +05:30
..
agent_capacity_policies fix: Assignment V2 controller fix (#12415) 2025-09-11 19:32:33 +07:00
captain fix: ai-assist 404 on CE (#13891) 2026-03-24 16:58:11 +05:30
contacts feat: outbound voice call essentials (#12782) 2025-11-24 17:47:00 -08:00
agent_capacity_policies_controller.rb fix: Assignment V2 controller fix (#12415) 2025-09-11 19:32:33 +07:00
applied_slas_controller.rb feat: SLA reports view (#9189) 2024-04-09 10:14:36 +10:00
audit_logs_controller.rb chore: Improve logging for ip look up and audit logs [CW-2145] (#7512) 2023-07-27 16:48:30 +05:30
companies_controller.rb feat: Add sorting by contacts count to companies list (#13012) 2026-01-09 15:20:08 -08:00
conference_controller.rb feat(enterprise): add voice conference API (#13064) 2025-12-15 15:11:59 -08:00
custom_roles_controller.rb chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
enterprise_accounts_controller.rb feat: Conversation API to return applied_sla and sla_events (#9174) 2024-04-01 23:30:07 +05:30
reporting_events_controller.rb feat: allow querying reporting events via the API (#12832) 2025-11-13 12:46:55 +05:30
saml_settings_controller.rb feat: Control the allowed login methods via Super Admin (#12892) 2025-11-17 21:55:12 -08:00
sla_policies_controller.rb fix: Prevent SLA deletion timeouts by moving to async job (#12944) 2025-12-10 12:28:47 +05:30