mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
Unify API keys and web hooks into a single admin nav header.
This commit is contained in:
parent
fa6b10cf3c
commit
547750e9dd
17 changed files with 86 additions and 53 deletions
|
@ -63,7 +63,7 @@ class Admin::WebHooksController < Admin::AdminController
|
|||
json = {
|
||||
web_hook_events: serialize_data(@web_hook.web_hook_events.limit(limit).offset(offset), AdminWebHookEventSerializer),
|
||||
total_rows_web_hook_events: @web_hook.web_hook_events.count,
|
||||
load_more_web_hook_events: admin_web_hook_events_path(limit: limit, offset: offset + limit, format: :json),
|
||||
load_more_web_hook_events: web_hook_events_admin_api_index_path(limit: limit, offset: offset + limit, format: :json),
|
||||
extras: {
|
||||
web_hook_id: @web_hook.id
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue