lib/generators/templates/effective_assets.rb in effective_assets-1.7.3 vs lib/generators/templates/effective_assets.rb in effective_assets-1.7.4
- old
+ new
@@ -2,10 +2,10 @@
EffectiveAssets.setup do |config|
config.assets_table_name = :assets
config.attachments_table_name = :attachments
- config.uploader = AssetUploader # Must extend from EffectiveAssetsUploader
+ config.uploader = 'AssetUploader' # Must extend from EffectiveAssetsUploader
# Authorization Method
#
# This method is called by all controller actions with the appropriate action and resource
# If the method returns false, an Effective::AccessDenied Error will be raised (see README.md for complete info)