]> cat aescling's git repositories - mastodon.git/commitdiff
Re-add route for direct timeline
authorThibaut Girka <thib@sitedethib.com>
Sun, 7 Jul 2019 12:12:41 +0000 (14:12 +0200)
committerThibaut Girka <thib@sitedethib.com>
Sun, 7 Jul 2019 12:12:41 +0000 (14:12 +0200)
config/routes.rb

index 62374d0dfd16db424e46c58552139e71a6aa0dbc..1b88fe5e3e922bc6447536a227a30414f92ecd35 100644 (file)
@@ -303,6 +303,7 @@ Rails.application.routes.draw do
       end
 
       namespace :timelines do
+        resource :direct, only: :show, controller: :direct
         resource :home, only: :show, controller: :home
         resource :public, only: :show, controller: :public
         resources :tag, only: :show