Sha256: 782aa9de84e77c756bccdb88c136ac8b207e047477cbe3ddf031d2a7b7e53812

Contents?: true

Size: 122 Bytes

Versions: 6

Compression:

Stored size: 122 Bytes

Contents

class SettingsFileUploader < CarrierWave::Uploader::Base
  def store_dir
    "system/settings/files/#{model.id}"
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
activeadmin-settings-0.2.5 lib/generators/activeadmin_settings/templates/uploaders/settings_file_uploader.rb
activeadmin-settings-0.2.4 lib/generators/activeadmin_settings/templates/uploaders/settings_file_uploader.rb
activeadmin-settings-0.2.3 lib/generators/activeadmin_settings/templates/uploaders/settings_file_uploader.rb
activeadmin-settings-0.2.2 lib/generators/activeadmin_settings/templates/uploaders/settings_file_uploader.rb
activeadmin-settings-0.2.1 lib/generators/activeadmin_settings/templates/uploaders/settings_file_uploader.rb
activeadmin-settings-0.1.0 lib/generators/activeadmin_settings/templates/uploaders/settings_file_uploader.rb