Sha256: d46fe60cf894b189905e7ca27e59ee3bf56e9af33b21b25ae8be688ec2bc496a
Contents?: true
Size: 441 Bytes
Versions: 6
Compression:
Stored size: 441 Bytes
Contents
module Enjoy::Gallery::Paperclipable extend ActiveSupport::Concern module ClassMethods def enjoy_cms_attached_file(name, opts = {}) if Enjoy.active_record? include Enjoy::Gallery::ActiveRecordPaperclip enjoy_cms_active_record_attached_file(name, opts) elsif Enjoy.mongoid? include Enjoy::Gallery::MongoidPaperclip enjoy_cms_mongoid_attached_file(name, opts) end end end end
Version data entries
6 entries across 6 versions & 1 rubygems