0
0
Fork 0

Adding hashtags

This commit is contained in:
Eugen Rochko 2016-11-05 15:20:05 +01:00
parent 62292797ec
commit 48b9619439
33 changed files with 305 additions and 62 deletions

View file

@ -1,6 +1,8 @@
require 'sidekiq/web'
Rails.application.routes.draw do
get 'tags/show'
mount ActionCable.server => '/cable'
authenticate :user, lambda { |u| u.admin? } do
@ -40,6 +42,7 @@ Rails.application.routes.draw do
end
resources :media, only: [:show]
resources :tags, only: [:show]
namespace :api do
# PubSubHubbub
@ -56,6 +59,7 @@ Rails.application.routes.draw do
get :home
get :mentions
get :public
get '/tag/:id', action: :tag
end
member do