Skip to content

Commit

Permalink
Remove browse.json redirect
Browse files Browse the repository at this point in the history
This doesn't path doesn't appear to be used anymore. The logs show only 8 requests to this path over the last 90 days.
  • Loading branch information
theseanything authored Aug 6, 2024
1 parent 2385d8b commit 17a5661
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@
unless Rails.env.production?
get "/development", to: "development#index"
end

get "/browse.json" => redirect("/api/content/browse")


Check failure on line 24 in config/routes.rb

View workflow job for this annotation

GitHub Actions / Lint Ruby / Run RuboCop

Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
resources :browse, only: %i[index show], param: :top_level_slug do
get ":second_level_slug", on: :member, to: "second_level_browse_page#show"
end
Expand Down

0 comments on commit 17a5661

Please sign in to comment.