Skip to content
Extraits de code Groupes Projets
Valider ed99f29a rédigé par maxwell's avatar maxwell
Parcourir les fichiers

dont show service if you dont have the keys for it. also, update deploy script

parent cd67d38a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -23,6 +23,6 @@ ...@@ -23,6 +23,6 @@
= service.nickname = service.nickname
= link_to "disconnect", service, :confirm => "disconnect #{service.provider}?", :method => :delete = link_to "disconnect", service, :confirm => "disconnect #{service.provider}?", :method => :delete
%h4= link_to "Connect to twitter", "/auth/twitter" %h4= link_to "Connect to twitter", "/auth/twitter" if SERVICES['twitter']['consumer_key']!= ""
%h4= link_to "Connect to facebook", "/auth/facebook" %h4= link_to "Connect to facebook", "/auth/facebook" if SERVICES['facebook']['app_id'] !=""
...@@ -56,9 +56,9 @@ namespace :deploy do ...@@ -56,9 +56,9 @@ namespace :deploy do
run "ln -s -f #{shared_path}/app_config.yml #{current_path}/config/app_config.yml" run "ln -s -f #{shared_path}/app_config.yml #{current_path}/config/app_config.yml"
end end
task :symlink_fb_config do task :symlink_oauth_keys_config do
run "touch #{shared_path}/fb_config.yml" run "touch #{shared_path}/oauth_keys.yml"
run "ln -s -f #{shared_path}/fb_config.yml #{current_path}/config/fb_config.yml" run "ln -s -f #{shared_path}/oauth_keys.yml #{current_path}/config/oauth_keys.yml"
end end
task :start do task :start do
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter