From 49d75710f98effe6b3f071b98d3cdb42371f7f86 Mon Sep 17 00:00:00 2001 From: Torsten Date: Thu, 31 Mar 2022 00:35:47 +0300 Subject: [PATCH] remove double root --- config/deploy.rb | 2 +- config/routes.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/deploy.rb b/config/deploy.rb index 60ddfda..0d71223 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -24,7 +24,7 @@ set :user, 'feenix' # Username in the server to SSH to. # Some plugins already add folders to shared_dirs like `mina/rails` add `public/assets`, `vendor/bundle` and many more # run `mina -d` to see all folders and files already included in `shared_dirs` and `shared_files` # set :shared_dirs, fetch(:shared_dirs, []).push('public/assets') -# set :shared_files, fetch(:shared_files, []).push('config/database.yml', 'config/secrets.yml') +set :shared_files, fetch(:shared_files, []).push('config/master.key') # This task is the environment that is loaded for all remote run commands, such as # `mina deploy` or `mina rake`. diff --git a/config/routes.rb b/config/routes.rb index 09a3a00..cc9c1d5 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,5 +1,5 @@ Rails.application.routes.draw do # Define your application routes per the DSL in https://guides.rubyonrails.org/routing.html - root to: 'high_voltage/pages#show', id: 'index' +# root to: 'high_voltage/pages#show', id: 'index' end