Permalink
Browse files

Tweak login

  • Loading branch information...
1 parent 050d729 commit 263a0a4ccf7a10b65c21aed2dd885260f40464dc @BDQ BDQ committed Oct 14, 2011
Showing with 4 additions and 1 deletion.
  1. +4 −1 app/overrides/replace_user_sessions_new.rb
@@ -1,7 +1,10 @@
Deface::Override.new(:virtual_path => %q{user_sessions/new},
:name => %q{replace_user_sessions_new},
:replace => %q{#existing-customer},
- :text => %q{<%= render 'shared/social_users' %>
+ :text => %q{
+<% if Rails.application.railties.all.map(&:railtie_name).include? "spree_social" %>
+<%= render 'shared/social_users' %>
+<% end %>
<div id="local_login">
<div id="existing-customer">

0 comments on commit 263a0a4

Please sign in to comment.