mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: manage Permalinks
This commit is contained in:
@@ -2443,6 +2443,19 @@ en:
|
||||
image: "Image"
|
||||
delete_confirm: "Are you sure you want to delete the :%{name}: emoji?"
|
||||
|
||||
permalink:
|
||||
title: "Permalinks"
|
||||
url: "URL"
|
||||
topic_id: "Topic ID"
|
||||
post_id: "Post ID"
|
||||
category_id: "Category ID"
|
||||
external_url: "External URL"
|
||||
delete_confirm: Are you sure you want to delete this permalink?
|
||||
form:
|
||||
label: "New:"
|
||||
add: "Add"
|
||||
filter: "Search (URL or External URL)"
|
||||
|
||||
lightbox:
|
||||
download: "download"
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@ Discourse::Application.routes.draw do
|
||||
get "customize" => "color_schemes#index", constraints: AdminConstraint.new
|
||||
get "customize/css_html" => "site_customizations#index", constraints: AdminConstraint.new
|
||||
get "customize/colors" => "color_schemes#index", constraints: AdminConstraint.new
|
||||
get "customize/permalinks" => "permalinks#index", constraints: AdminConstraint.new
|
||||
get "flags" => "flags#index"
|
||||
get "flags/:filter" => "flags#index"
|
||||
post "flags/agree/:id" => "flags#agree"
|
||||
@@ -148,6 +149,8 @@ Discourse::Application.routes.draw do
|
||||
|
||||
resources :color_schemes, constraints: AdminConstraint.new
|
||||
|
||||
resources :permalinks, constraints: AdminConstraint.new
|
||||
|
||||
get "version_check" => "versions#show"
|
||||
|
||||
resources :dashboard, only: [:index] do
|
||||
|
||||
Reference in New Issue
Block a user