Remove type parameter default value for reports listing
This commit is contained in:
parent
311fc0812b
commit
779dd245f5
|
@ -26,7 +26,7 @@ Rails.application.routes.draw do
|
||||||
post "/moderation/unmask", to: "moderation#toggle_unmask", as: :moderation_toggle_unmask
|
post "/moderation/unmask", to: "moderation#toggle_unmask", as: :moderation_toggle_unmask
|
||||||
get "/moderation/blocks", to: "moderation/anonymous_block#index", as: :mod_anon_block_index
|
get "/moderation/blocks", to: "moderation/anonymous_block#index", as: :mod_anon_block_index
|
||||||
get "/moderation/inbox/:user", to: "moderation/inbox#index", as: :mod_inbox_index
|
get "/moderation/inbox/:user", to: "moderation/inbox#index", as: :mod_inbox_index
|
||||||
get "/moderation/reports(/:type)", to: "moderation/reports#index", as: :moderation_reports, defaults: { type: "all" }
|
get "/moderation/reports(/:type)", to: "moderation/reports#index", as: :moderation_reports
|
||||||
get "/moderation/questions/:author_identifier", to: "moderation/questions#show", as: :moderation_questions
|
get "/moderation/questions/:author_identifier", to: "moderation/questions#show", as: :moderation_questions
|
||||||
namespace :ajax do
|
namespace :ajax do
|
||||||
post "/mod/destroy_report", to: "moderation#destroy_report", as: :mod_destroy_report
|
post "/mod/destroy_report", to: "moderation#destroy_report", as: :mod_destroy_report
|
||||||
|
|
Loading…
Reference in New Issue