Sha256: 1de9ee76439bd40bfba6d561d1a94cba60e2c6d9c10d3eeaf32d4e0bfb51f385
Contents?: true
Size: 260 Bytes
Versions: 8
Compression:
Stored size: 260 Bytes
Contents
class Ckeditor::PicturePolicy attr_reader :user, :picture def initialize(user, picture) @user = user @picture = picture end def index? user.present? end def create? user.present? end def destroy? user.present? end end
Version data entries
8 entries across 8 versions & 2 rubygems