Fix #463 - Fetch and display previews of URLs using OpenGraph tags

This commit is contained in:
Eugen Rochko
2017-01-20 01:00:14 +01:00
parent 8d0284f8d9
commit f0de621e76
26 changed files with 302 additions and 7 deletions

View File

@ -86,6 +86,7 @@ Rails.application.routes.draw do
resources :statuses, only: [:create, :show, :destroy] do
member do
get :context
get :card
get :reblogged_by
get :favourited_by
@ -146,7 +147,7 @@ Rails.application.routes.draw do
get '/about', to: 'about#index'
get '/about/more', to: 'about#more'
get '/terms', to: 'about#terms'
root 'home#index'
match '*unmatched_route', via: :all, to: 'application#raise_not_found'