diff options
author | Johann Pardanaud <pardanaud.j@gmail.com> | 2016-02-09 02:35:42 +0300 |
---|---|---|
committer | Johann Pardanaud <pardanaud.j@gmail.com> | 2016-02-10 00:26:50 +0300 |
commit | 6d5808801f460ed2c7bb99a316687202f2f70282 (patch) | |
tree | 379598f0aeae10b2dce417e4f166e35cff349abb /app/controllers/profiles_controller.rb | |
parent | 16abacb1f07c866e7a1f5deb6a6bc20a4eaee71c (diff) |
Fix #7959: Fix avatar stretching by providing a cropping feature
Diffstat (limited to 'app/controllers/profiles_controller.rb')
-rw-r--r-- | app/controllers/profiles_controller.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/profiles_controller.rb b/app/controllers/profiles_controller.rb index 28803164fcf..fa7a1148961 100644 --- a/app/controllers/profiles_controller.rb +++ b/app/controllers/profiles_controller.rb @@ -65,6 +65,9 @@ class ProfilesController < Profiles::ApplicationController def user_params params.require(:user).permit( + :avatar_crop_x, + :avatar_crop_y, + :avatar_crop_size, :avatar, :bio, :email, |