diff options
author | ThibG <thib@sitedethib.com> | 2018-12-09 16:38:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-09 16:38:09 +0100 |
commit | c6b7b984891413cb1db673df2cbea12f8e6f0f05 (patch) | |
tree | 46e3982da219f7a5ac34c3aecaf32f0990578d1d /config/routes.rb | |
parent | e3682c9c1750e5e7e5d2f817e29f6760a18400ca (diff) | |
parent | 4f59d1efd786c08cc63e0c14dceada80c37ab8da (diff) |
Merge pull request #849 from ThibG/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'config/routes.rb')
-rw-r--r-- | config/routes.rb | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb index 446aad58b..6b33d8baf 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -80,6 +80,11 @@ Rails.application.routes.draw do get '/interact/:id', to: 'remote_interaction#new', as: :remote_interaction post '/interact/:id', to: 'remote_interaction#create' + get '/explore', to: 'directories#index', as: :explore + get '/explore/popular', to: 'directories#index', as: :explore_popular + get '/explore/:id', to: 'directories#show', as: :explore_hashtag + get '/explore/:id/popular', to: 'directories#show', as: :explore_hashtag_popular + namespace :settings do resource :profile, only: [:show, :update] @@ -210,6 +215,13 @@ Rails.application.routes.draw do end resources :account_moderation_notes, only: [:create, :destroy] + + resources :tags, only: [:index] do + member do + post :hide + post :unhide + end + end end get '/admin', to: redirect('/admin/dashboard', status: 302) |