add routes and empty index for discover
This commit is contained in:
parent
c9a268ebdf
commit
961ebfd266
|
@ -1,2 +1,7 @@
|
|||
class DiscoverController < ApplicationController
|
||||
before_filter :authenticate_user!
|
||||
|
||||
def index
|
||||
|
||||
end
|
||||
end
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
|
|
@ -90,6 +90,7 @@ Rails.application.routes.draw do
|
|||
match '/unsubscribe', to: 'subscription#unsubscribe', via: :post, as: :unsubscribe_answer
|
||||
end
|
||||
|
||||
match '/discover', to: 'discover#index', via: :get, as: :discover
|
||||
match '/public', to: 'public#index', via: :get, as: :public_timeline
|
||||
match '/group/:group_name', to: 'group#index', via: :get, as: :group_timeline
|
||||
|
||||
|
|
Loading…
Reference in New Issue