From dc827d0a80360aa245d4d724dc42bc47571faea6 Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 18 Dec 2012 17:01:34 +0100 Subject: refactor: using tab partials for user editing --- users/app/helpers/users_helper.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'users/app/helpers') diff --git a/users/app/helpers/users_helper.rb b/users/app/helpers/users_helper.rb index 6d76d6f..45ca0e9 100644 --- a/users/app/helpers/users_helper.rb +++ b/users/app/helpers/users_helper.rb @@ -30,8 +30,4 @@ module UsersHelper classes.compact end - def email_settings? - params[:user] && - params[:user].keys.detect{|key| key.index('email')} - end end -- cgit v1.2.3