feat(captain): allow agents to review FAQ suggestions

This commit is contained in:
aakashb95
2026-07-22 23:19:49 +05:30
parent 837343b12d
commit 1ee939a910
3 changed files with 71 additions and 5 deletions
@@ -1,6 +1,6 @@
class Api::V1::Accounts::Captain::FaqSuggestionsController < Api::V1::Accounts::BaseController
before_action :current_account
before_action -> { check_authorization(Captain::Assistant) }
before_action -> { check_authorization(Captain::FaqSuggestion) }
before_action :set_suggestions
before_action :set_suggestion, except: [:index]