Sha256: 846e2023aee119268eb1317875ea00f7b38ddab3ce075f914157719550f10255
Contents?: true
Size: 235 Bytes
Versions: 6
Compression:
Stored size: 235 Bytes
Contents
class UsersController < ApplicationController def destroy_avatar avatar = requested_resource.avatars.find(params[:attachment_id]) avatar.purge redirect_back(fallback_location: requested_resource) end end
Version data entries
6 entries across 6 versions & 1 rubygems