Progress
new MediaAttachment video style :playable for mp4 to make videojs work with multiple files, hiding albums, hiding bookmark collections. may need tweaks on mediaattachment for mov and other formats : todo :
This commit is contained in:
@@ -288,7 +288,8 @@ Rails.application.routes.draw do
|
||||
resources :reports, only: [:create]
|
||||
resources :filters, only: [:index, :create, :show, :update, :destroy]
|
||||
resources :shortcuts, only: [:index, :create, :show, :destroy]
|
||||
resources :albums, only: [:index, :create, :update, :show, :destroy]
|
||||
resources :albums, only: [:create, :update, :show, :destroy]
|
||||
resources :album_lists, only: [:show]
|
||||
|
||||
resources :bookmark_collections, only: [:index, :create, :show, :update, :destroy] do
|
||||
resources :bookmarks, only: [:index], controller: 'bookmark_collections/bookmarks'
|
||||
@@ -398,14 +399,6 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
# : todo :
|
||||
# get '/:username/with_replies', to: 'accounts#show', username: username_regex, as: :short_account_with_replies
|
||||
# get '/:username/comments_only', to: 'accounts#show', username: username_regex, as: :short_account_comments_only
|
||||
# get '/:username/media', to: 'accounts#show', username: username_regex, as: :short_account_media
|
||||
# get '/:username/tagged/:tag', to: 'accounts#show', username: username_regex, as: :short_account_tag
|
||||
# get '/:username/posts/:statusId/reblogs', to: 'statuses#show', username: username_regex
|
||||
# get '/:account_username/posts/:id', to: 'statuses#show', account_username: username_regex, as: :short_account_status
|
||||
# get '/:account_username/posts/:id/embed', to: 'statuses#embed', account_username: username_regex, as: :embed_short_account_status
|
||||
|
||||
get '/g/:groupSlug', to: 'react#groupBySlug'
|
||||
get '/(*any)', to: 'react#react', as: :web
|
||||
@@ -414,6 +407,13 @@ Rails.application.routes.draw do
|
||||
get '/', to: 'react#react', as: :homepage
|
||||
|
||||
# : todo :
|
||||
# get '/:username/with_replies', to: 'accounts#show', username: username_regex, as: :short_account_with_replies
|
||||
# get '/:username/comments_only', to: 'accounts#show', username: username_regex, as: :short_account_comments_only
|
||||
# get '/:username/media', to: 'accounts#show', username: username_regex, as: :short_account_media
|
||||
# get '/:username/tagged/:tag', to: 'accounts#show', username: username_regex, as: :short_account_tag
|
||||
# get '/:username/posts/:statusId/reblogs', to: 'statuses#show', username: username_regex
|
||||
# get '/:account_username/posts/:id', to: 'statuses#show', account_username: username_regex, as: :short_account_status
|
||||
# get '/:account_username/posts/:id/embed', to: 'statuses#embed', account_username: username_regex, as: :embed_short_account_status
|
||||
get '/about', to: 'react#react'
|
||||
get '/about/tos', to: 'react#react'
|
||||
get '/about/privacy', to: 'react#react'
|
||||
|
||||
Reference in New Issue
Block a user