remove add public
This commit is contained in:
parent
ec276a225a
commit
1f84882640
|
@ -170,7 +170,7 @@ class Admin::SitesController < OrbitAdminController
|
|||
git_add_except_public = Dir['*'].select{|v| v!= 'public'}.collect do |v|
|
||||
"#{git} add -f '#{v}'"
|
||||
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}'"
|
||||
end.join(' && ')
|
||||
git_restore = "#{git} checkout ."
|
||||
|
|
Loading…
Reference in New Issue