remove add public

This commit is contained in:
chiu 2020-02-21 11:38:35 +08:00
parent ec276a225a
commit 1f84882640
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ class Admin::SitesController < OrbitAdminController
git_add_except_public = Dir['*'].select{|v| v!= 'public'}.collect do |v| git_add_except_public = Dir['*'].select{|v| v!= 'public'}.collect do |v|
"#{git} add -f '#{v}'" "#{git} add -f '#{v}'"
end.join(' && ') end.join(' && ')
git_add_custom = (Dir['*'].select{|v| v !='app' && v != 'lib' && v != 'config'} + ['app/templates','config/mongoid.yml']).collect do |v| git_add_custom = (Dir['*'].select{|v| v !='app' && v != 'lib' && v != 'config' && v != 'public'} + ['app/templates','config/mongoid.yml']).collect do |v|
"#{git} add -f --all '#{v}'" "#{git} add -f --all '#{v}'"
end.join(' && ') end.join(' && ')
git_restore = "#{git} checkout ." git_restore = "#{git} checkout ."