diff --git a/app/javascript/gabsocial/components/column_back_button.js b/app/javascript/gabsocial/components/column_back_button.js index f7190e5b..19e6f7ef 100644 --- a/app/javascript/gabsocial/components/column_back_button.js +++ b/app/javascript/gabsocial/components/column_back_button.js @@ -11,7 +11,7 @@ export default class ColumnBackButton extends React.PureComponent { handleClick = () => { if (window.history && window.history.length === 1) { - this.context.router.history.push('/'); + this.context.router.history.push('/home'); // homehack } else { this.context.router.history.goBack(); } diff --git a/app/javascript/gabsocial/components/column_header.js b/app/javascript/gabsocial/components/column_header.js index e7871e16..499cf3c7 100644 --- a/app/javascript/gabsocial/components/column_header.js +++ b/app/javascript/gabsocial/components/column_header.js @@ -34,7 +34,7 @@ class ColumnHeader extends React.PureComponent { historyBack = () => { if (window.history && window.history.length === 1) { - this.context.router.history.push('/'); + this.context.router.history.push('/home'); // homehack } else { this.context.router.history.goBack(); } diff --git a/app/javascript/gabsocial/components/error_boundary.js b/app/javascript/gabsocial/components/error_boundary.js index ce199b56..0a400960 100644 --- a/app/javascript/gabsocial/components/error_boundary.js +++ b/app/javascript/gabsocial/components/error_boundary.js @@ -33,7 +33,7 @@ export default class ErrorBoundary extends React.PureComponent {
- Return Home + Return Home
); diff --git a/app/javascript/gabsocial/features/ui/index.js b/app/javascript/gabsocial/features/ui/index.js index d27b854f..ae6b58fa 100644 --- a/app/javascript/gabsocial/features/ui/index.js +++ b/app/javascript/gabsocial/features/ui/index.js @@ -182,7 +182,7 @@ class SwitchingColumnsArea extends React.PureComponent { return ( - {/* */} + @@ -444,7 +444,7 @@ class UI extends React.PureComponent { handleHotkeyBack = () => { if (window.history && window.history.length === 1) { - this.context.router.history.push('/'); + this.context.router.history.push('/home'); // homehack } else { this.context.router.history.goBack(); } diff --git a/config/routes.rb b/config/routes.rb index f14bdf47..b7a1b2ec 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -24,7 +24,6 @@ Rails.application.routes.draw do get '.well-known/change-password', to: redirect('/auth/edit') get '.well-known/keybase-proof-config', to: 'well_known/keybase_proof_config#show' - get '/src/gab-social.zip', to: 'downloads#source' get 'manifest', to: 'manifests#show', defaults: { format: 'json' } get 'intent', to: 'intents#show' get 'custom.css', to: 'custom_css#show', as: :custom_css @@ -138,7 +137,7 @@ Rails.application.routes.draw do resources :filters, except: [:show] resource :relationships, only: [:show, :update] - get '/public', to: redirect('/'), as: :public_timeline + get '/public', to: redirect('/home'), as: :public_timeline # homehack get '/media_proxy/:id/(*any)', to: 'media_proxy#show', as: :media_proxy # Remote follow