summaryrefslogtreecommitdiff
path: root/app/views/profiles/keys/index.html.haml
diff options
context:
space:
mode:
authorJohann Pardanaud <pardanaud.j@gmail.com>2016-02-18 13:09:51 +0100
committerJohann Pardanaud <pardanaud.j@gmail.com>2016-02-18 13:12:39 +0100
commit0701b70c9c47e90a96100cefe5b93ec5954f9ec1 (patch)
tree9a4994634f74c23c8143d08acd920323b832852a /app/views/profiles/keys/index.html.haml
parentbf6aa15512cc6d31be320204fbc3c115bfd11b1b (diff)
downloadgitlab-ce-0701b70c9c47e90a96100cefe5b93ec5954f9ec1.tar.gz
Minor changes on avatar cropping internals
- Avoid multiple calls to `validates` for the avatar attributes. - In a cropping process, don't check if the model inherits `User`, check if it responds to `:avatar_crop_size`.
Diffstat (limited to 'app/views/profiles/keys/index.html.haml')
0 files changed, 0 insertions, 0 deletions