mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-15 15:46:08 +10:00
Add class and style Add spinach tests Add entry to CHANGELOG Add entry to CHANGELOG
12 lines
197 B
Ruby
12 lines
197 B
Ruby
class Profiles::AvatarsController < ApplicationController
|
|
layout "profile"
|
|
|
|
def destroy
|
|
@user = current_user
|
|
@user.remove_avatar!
|
|
|
|
@user.save
|
|
redirect_to profile_path
|
|
end
|
|
end
|