Skip to content

Commit

Permalink
Add redirect of support/new to /support and remove tickets/new and cr…
Browse files Browse the repository at this point in the history
…eate

To stop bots from being able to raise spam tickets.
  • Loading branch information
baisa committed Apr 8, 2024
1 parent 1dd6665 commit 1952efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
get "publishers"
get "site-changes", to: :site_changes
get "support"
get "support/new", to: redirect("/support")
get "terms"
get "ckan_maintenance"
end
Expand All @@ -39,7 +40,6 @@

get "search/", to: "search#search"

resources :tickets, only: %i[new create]
get "tickets/confirmation", to: "tickets#confirmation"

get "data/map-preview", to: "map_previews#show", as: "map_preview"
Expand Down

0 comments on commit 1952efe

Please sign in to comment.