mirror of
https://github.com/internetee/registry.git
synced 2025-07-24 11:38:30 +02:00
Add tests for admin bounced mails views
This commit is contained in:
parent
64308e1104
commit
101d5d4a78
5 changed files with 82 additions and 15 deletions
|
@ -26,15 +26,5 @@ module Admin
|
|||
def set_bounced_mail_address
|
||||
@bounced_mail_address = BouncedMailAddress.find(params[:id])
|
||||
end
|
||||
|
||||
# Only allow a trusted parameter "white list" through.
|
||||
def bounced_mail_address_params
|
||||
params.require(:bounced_mail_address).permit(
|
||||
:email,
|
||||
:bounce_reason,
|
||||
:incidents,
|
||||
:response_json
|
||||
)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue