Sha256: c674acc55019392338bff3d17ffaef919c0f655f26a449ca1ec7ca625cdc3683

Contents?: true

Size: 212 Bytes

Versions: 5

Compression:

Stored size: 212 Bytes

Contents

AvatarsForRails.setup do |config|
  config.avatarable_model = :<%= file_name %>
end



module AvatarsForRails::AvatarsControllerConfig
  def current_avatarable_object
    return current_<%= file_name %>
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
avatars_for_rails-0.0.5 lib/generators/avatars_for_rails/templates/initializer.rb
avatars_for_rails-0.0.4 lib/generators/avatars_for_rails/templates/initializer.rb
avatars_for_rails-0.0.3 lib/generators/avatars_for_rails/templates/initializer.rb
avatars_for_rails-0.0.2 lib/generators/avatars_for_rails/templates/initializer.rb
avatars_for_rails-0.0.1 lib/generators/avatars_for_rails/templates/initializer.rb