mirror of
https://github.com/discourse/discourse.git
synced 2025-06-06 03:06:53 +08:00
DEV: Admin webhooks interface issues (#19360)
1. The events table had broken styling, making each row overflow 2. It had confusing routes: `/:id` for "edit" and `/:id/events` for "show" (now it's `/:id/edit` and `/:id` respectively) 3. There previously was an unused backend action (`#edit`) - now it is used (and `web_hooks/:id/events` route has been removed) 4. There was outdated/misplaced/duplicated CSS 5. And more
This commit is contained in:
@ -300,7 +300,6 @@ Discourse::Application.routes.draw do
|
||||
|
||||
resources :web_hooks
|
||||
get 'web_hook_events/:id' => 'web_hooks#list_events', as: :web_hook_events
|
||||
get 'web_hooks/:id/events' => 'web_hooks#list_events'
|
||||
get 'web_hooks/:id/events/bulk' => 'web_hooks#bulk_events'
|
||||
post 'web_hooks/:web_hook_id/events/:event_id/redeliver' => 'web_hooks#redeliver_event'
|
||||
post 'web_hooks/:id/ping' => 'web_hooks#ping'
|
||||
|
Reference in New Issue
Block a user