Sha256: 5cb4e535525e001f5d628d8484a91045c90871b8190414e300740f2d4a55bad2

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

AvatarsForRails.setup do |config|
  # Filters to run before updating the avatar
  # config.controller_filters = [ :authenticate_user! ]

  # The method to get the avatarable in the controller
  # config.controller_filters = [ :current_user ]

  # The default styles that will be generated
  # config.avatarable_styles = { small:  '50x50',
  #                              medium: '120x120' }

  # The tmp path inside public/
  # config.public_tmp_path = File.join('system', 'tmp')
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
avatars_for_rails-1.0.4 lib/generators/avatars_for_rails/templates/initializer.rb
avatars_for_rails-1.0.3 lib/generators/avatars_for_rails/templates/initializer.rb
avatars_for_rails-1.0.2 lib/generators/avatars_for_rails/templates/initializer.rb
avatars_for_rails-1.0.1 lib/generators/avatars_for_rails/templates/initializer.rb