Removed react/home.html.haml
• Removed: - react/home.html.haml
This commit is contained in:
parent
aba1b917d5
commit
f964950282
|
@ -11,10 +11,6 @@ class ReactController < ApplicationController
|
|||
def react
|
||||
#
|
||||
end
|
||||
|
||||
def home
|
||||
#
|
||||
end
|
||||
|
||||
def groupBySlug
|
||||
@group = Group.where(slug: params[:groupSlug], is_archived: false).first
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
- content_for :header_tags do
|
||||
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
|
||||
%script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
|
||||
|
||||
= javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous'
|
||||
|
||||
#gabsocial{ data: { props: Oj.dump(default_props) } }
|
||||
%noscript
|
||||
%div{ :style => "padding: 60px; max-width: 560px;" }
|
||||
= image_pack_tag 'logo.svg', alt: 'Gab Social', width: '100px'
|
||||
%div{ :style => "margin-top: 20px; line-height: 2rem; font-family: system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;" }
|
||||
= t('errors.noscript_html', apps_path: 'https://apps.gab.com')
|
|
@ -465,8 +465,6 @@ Rails.application.routes.draw do
|
|||
end
|
||||
end
|
||||
|
||||
get '/', to: 'react#home', as: :homepage
|
||||
|
||||
get '/g/:groupSlug', to: 'react#groupBySlug'
|
||||
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
|
||||
|
@ -480,6 +478,8 @@ Rails.application.routes.draw do
|
|||
get '/:username', to: 'accounts#show', username: username_regex, as: :short_account
|
||||
root 'react#react'
|
||||
|
||||
get '/', to: 'react#react', as: :homepage
|
||||
|
||||
# Routes that are now to be used within webapp, but still referenced within application
|
||||
# TODO : Consolidate
|
||||
get '/explore', to: 'directories#index', as: :explore
|
||||
|
|
Loading…
Reference in New Issue