Sha256: a16de569d34ded511623caf6687ecc3e2c6d10fd21edcffc9389fdcd0c6f5c1b

Contents?: true

Size: 651 Bytes

Versions: 5

Compression:

Stored size: 651 Bytes

Contents

# plugin init file for rails
# this file will be picked up by rails automatically and
# add the upload_column extensions to rails

#require File.join(File.dirname(__FILE__), 'lib', 'upload_column')
require File.join(File.dirname(__FILE__), 'lib', 'upload_column', 'rails', 'upload_column_helper')
require File.join(File.dirname(__FILE__), 'lib', 'upload_column', 'rails', 'action_controller_extension')
require File.join(File.dirname(__FILE__), 'lib', 'upload_column', 'rails', 'asset_tag_extension')

Mime::Type.register "image/png", :png
Mime::Type.register "image/jpeg", :jpg
Mime::Type.register "image/gif", :gif

UploadColumn::Root = RAILS_ROOT

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
uploadcolumn-0.3.4 init.rb
uploadcolumn-0.3.3 init.rb
uploadcolumn-0.3.2 init.rb
uploadcolumn-0.3.1 init.rb
uploadcolumn-0.3.0 init.rb