lib/freeberry.rb in freeberry-0.2.5 vs lib/freeberry.rb in freeberry-0.2.6

- old
+ new

@@ -7,10 +7,11 @@ autoload :Settingslogic, 'freeberry/settingslogic' autoload :HeaderTools, 'freeberry/header_tools' autoload :ModelFilter, 'freeberry/model_filter' autoload :Transliteration, 'freeberry/transliteration' autoload :AccessibleAttributes, 'freeberry/accessible_attributes' + autoload :Utils, 'freeberry/utils' # Controllers module Controllers autoload :AuthorizedSystem, 'freeberry/controllers/authorized_system' autoload :HeadOptions, 'freeberry/controllers/head_options' @@ -29,8 +30,10 @@ autoload :Post, 'freeberry/models/post' autoload :Comment, 'freeberry/models/comment' autoload :Asset, 'freeberry/models/asset' autoload :Header, 'freeberry/models/header' end + + IMAGE_TYPES = ['image/jpeg', 'image/png', 'image/gif', 'image/jpg', 'image/pjpeg', 'image/tiff', 'image/x-png'] end require 'freeberry/railtie'