Commit 888d186f9124519ae4e13d2b5d50ccf45b7d780b

Authored by Antonio Terceiro
1 parent 37ebbc22

ActionItem1165: make sure to always point into the current domain

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
app/views/shared/join_community_popup.rhtml
... ... @@ -7,7 +7,7 @@
7 7 <% else %>
8 8 <%= button(:ok, _('Yes'), profile.join_url) %>
9 9 <% end %>
10   - <%= button_to_remote(:cancel, _('Not now'), :url => profile.url.merge({:controller => 'profile', :action => 'refuse_for_now', :profile => profile.identifier}), :loaded => '$("join-community-popup").hide()') %>
  10 + <%= button_to_remote(:cancel, _('Not now'), :url => profile.join_url.merge({:controller => 'profile', :action => 'refuse_for_now', :profile => profile.identifier}), :loaded => '$("join-community-popup").hide()') %>
11 11 <%= button(:cancel, _('No and don\'t ask again'), :controller => 'profile', :action => 'refuse_join', :profile => profile.identifier) if logged_in? %>
12 12 <% end %>
13 13 </div>
... ...