Commit 0d4ff2186ca6167cfb0207278e8bd6130f9af370
Committed by
Daniela Feitosa
1 parent
ebe92bf7
Exists in
master
and in
29 other branches
Fixing add_friend button on private profiles
(ActionItem1783)
Showing
2 changed files
with
3 additions
and
1 deletions
Show diff stats
app/controllers/public/profile_controller.rb
1 | 1 | class ProfileController < PublicController |
2 | 2 | |
3 | 3 | needs_profile |
4 | - before_filter :check_access_to_profile, :except => [:join, :join_not_logged, :index] | |
4 | + before_filter :check_access_to_profile, :except => [:join, :join_not_logged, :index, :add] | |
5 | 5 | before_filter :store_before_join, :only => [:join, :join_not_logged] |
6 | 6 | before_filter :login_required, :only => [:add, :join, :join_not_logged, :leave, :unblock, :leave_scrap, :remove_scrap, :remove_activity, :view_more_scraps, :view_more_activities, :view_more_network_activities] |
7 | 7 | ... | ... |
features/private_profile.feature