Removed about pages from haml, routes.rb

• Removed:
- about pages from haml, routes.rb
- about, dmca, investors, privacy policy, terms of service, terms of sale
This commit is contained in:
mgabdev
2020-07-10 15:23:10 -05:00
parent 57ce03ff37
commit 185907d055
6 changed files with 7 additions and 529 deletions

View File

@@ -458,12 +458,6 @@ Rails.application.routes.draw do
end
get '/', to: 'about#show', as: :homepage
get '/about', to: 'about#more'
get '/about/tos', to: 'about#terms'
get '/about/privacy', to: 'about#privacy'
get '/about/investors', to: 'about#investors'
get '/about/dmca', to: 'about#dmca'
get '/about/sales', to: 'about#sales'
get '/tags/:tag', to: 'react#react'
get '/:username/with_replies', to: 'accounts#show', username: username_regex, as: :short_account_with_replies
@@ -483,6 +477,13 @@ Rails.application.routes.draw do
get '/explore', to: 'directories#index', as: :explore
get '/explore/:id', to: 'directories#show', as: :explore_hashtag
get '/about', to: 'about#more'
get '/about/tos', to: 'about#terms'
get '/about/privacy', to: 'about#privacy'
get '/about/investors', to: 'about#investors'
get '/about/dmca', to: 'about#dmca'
get '/about/sales', to: 'about#sales'
resources :tags, only: [:show]
match '*unmatched_route',