Sha256: 822788cf02c1630b493f817c4ec9f3917240bbf9b2a947bce4e2057aef2950a1
Contents?: true
Size: 190 Bytes
Versions: 5
Compression:
Stored size: 190 Bytes
Contents
class AvatarsController < ApplicationController def create Avatar.create params.require(:avatar).permit(:uploaded_file) redirect_to request.referer, change: 'avatar' end end
Version data entries
5 entries across 5 versions & 1 rubygems