mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Revert "Merge branch 'master' of https://github.com/discourse/discourse"
This reverts commite62a85cf6f, reversing changes made to2660c2e21d.
This commit is contained in:
@@ -23,7 +23,6 @@ Discourse::Application.routes.draw do
|
||||
post "webhooks/sparkpost" => "webhooks#sparkpost"
|
||||
|
||||
scope path: nil, constraints: { format: /.*/ } do
|
||||
Sidekiq::Web.set :sessions, Rails.application.config.session_options
|
||||
if Rails.env.development?
|
||||
mount Sidekiq::Web => "/sidekiq"
|
||||
mount Logster::Web => "/logs"
|
||||
@@ -121,6 +120,7 @@ Discourse::Application.routes.draw do
|
||||
put "unsuspend"
|
||||
put "revoke_admin", constraints: AdminConstraint.new
|
||||
put "grant_admin", constraints: AdminConstraint.new
|
||||
post "generate_api_key", constraints: AdminConstraint.new
|
||||
put "revoke_moderation", constraints: AdminConstraint.new
|
||||
put "grant_moderation", constraints: AdminConstraint.new
|
||||
put "approve"
|
||||
@@ -950,6 +950,8 @@ Discourse::Application.routes.draw do
|
||||
get "/safe-mode" => "safe_mode#index"
|
||||
post "/safe-mode" => "safe_mode#enter", as: "safe_mode_enter"
|
||||
|
||||
get "/themes/assets/:ids" => "themes#assets"
|
||||
|
||||
unless Rails.env.production?
|
||||
get "/qunit" => "qunit#index"
|
||||
get "/wizard/qunit" => "wizard#qunit"
|
||||
|
||||
Reference in New Issue
Block a user