diff options
Diffstat (limited to 'app/controllers/users_controller.rb')
-rw-r--r-- | app/controllers/users_controller.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index 767d992..e9efb36 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -93,10 +93,6 @@ class UsersController < ApplicationController @user = User.find(params[:id]) end - def is_owner?(object) - object == current_user - end - # Never trust parameters from the scary internet, only allow the white list through. def user_params permitted = [ :name, :email, :user_name, :password, :password_confirmation ] |