mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
UX: Move category editing/creation to its own page (#10973)
* Move new/edit category modals to its own page * Fix JS tests * Minor fixes to new-category UI * Add mobile toggle * Use global pretender endpoint so plugins can benefit too * Alignment fix * Minor review fixes * Styling refactor * Move some SCSS out of the modal
This commit is contained in:
@@ -682,6 +682,9 @@ Discourse::Application.routes.draw do
|
||||
|
||||
get "c/:category_slug/find_by_slug" => "categories#find_by_slug"
|
||||
get "c/:parent_category_slug/:category_slug/find_by_slug" => "categories#find_by_slug"
|
||||
get "c/:category_slug/edit" => "categories#find_by_slug", constraints: { format: 'html' }
|
||||
get "c/:parent_category_slug/:category_slug/edit" => "categories#find_by_slug", constraints: { format: 'html' }
|
||||
get "/new-category" => "categories#show", constraints: { format: 'html' }
|
||||
|
||||
get "c/*category_slug_path_with_id.rss" => "list#category_feed", format: :rss
|
||||
scope path: 'c/*category_slug_path_with_id' do
|
||||
|
||||
Reference in New Issue
Block a user