Removed react/home.html.haml
• Removed: - react/home.html.haml
This commit is contained in:
parent
aba1b917d5
commit
f964950282
|
@ -12,10 +12,6 @@ class ReactController < ApplicationController
|
||||||
#
|
#
|
||||||
end
|
end
|
||||||
|
|
||||||
def home
|
|
||||||
#
|
|
||||||
end
|
|
||||||
|
|
||||||
def groupBySlug
|
def groupBySlug
|
||||||
@group = Group.where(slug: params[:groupSlug], is_archived: false).first
|
@group = Group.where(slug: params[:groupSlug], is_archived: false).first
|
||||||
unless @group.nil?
|
unless @group.nil?
|
||||||
|
|
|
@ -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
|
||||||
end
|
end
|
||||||
|
|
||||||
get '/', to: 'react#home', as: :homepage
|
|
||||||
|
|
||||||
get '/g/:groupSlug', to: 'react#groupBySlug'
|
get '/g/:groupSlug', to: 'react#groupBySlug'
|
||||||
get '/:username/with_replies', to: 'accounts#show', username: username_regex, as: :short_account_with_replies
|
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/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
|
get '/:username', to: 'accounts#show', username: username_regex, as: :short_account
|
||||||
root 'react#react'
|
root 'react#react'
|
||||||
|
|
||||||
|
get '/', to: 'react#react', as: :homepage
|
||||||
|
|
||||||
# Routes that are now to be used within webapp, but still referenced within application
|
# Routes that are now to be used within webapp, but still referenced within application
|
||||||
# TODO : Consolidate
|
# TODO : Consolidate
|
||||||
get '/explore', to: 'directories#index', as: :explore
|
get '/explore', to: 'directories#index', as: :explore
|
||||||
|
|
Loading…
Reference in New Issue