Updated Avatar Uploader, moved dynamic form to main Gemfile
This commit is contained in:
parent
c93b438538
commit
c0ea38475c
2
Gemfile
2
Gemfile
|
@ -34,6 +34,8 @@ eval(File.read(File.dirname(__FILE__) + '/built_in_extensions.rb'))
|
||||||
#modules installed from the store
|
#modules installed from the store
|
||||||
eval(File.read(File.dirname(__FILE__) + '/downloaded_extensions.rb'))
|
eval(File.read(File.dirname(__FILE__) + '/downloaded_extensions.rb'))
|
||||||
|
|
||||||
|
#form helpers
|
||||||
|
gem 'dynamic_form', '1.0.0', :git => 'git@github.com:rails/dynamic_form.git'
|
||||||
|
|
||||||
gem 'fb_graph'
|
gem 'fb_graph'
|
||||||
gem 'rack-gridfs'
|
gem 'rack-gridfs'
|
||||||
|
|
|
@ -42,7 +42,7 @@ class AvatarUploader < CarrierWave::Uploader::Base
|
||||||
# end
|
# end
|
||||||
|
|
||||||
version :thumb do
|
version :thumb do
|
||||||
process :resize_to_fit => [80, 80]
|
process :resize_to_fit => [200, 200]
|
||||||
end
|
end
|
||||||
|
|
||||||
# Add a white list of extensions which are allowed to be uploaded.
|
# Add a white list of extensions which are allowed to be uploaded.
|
||||||
|
|
|
@ -16,4 +16,3 @@ gem 'personal_project', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit
|
||||||
gem 'personal_research', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-personalresearch.git'
|
gem 'personal_research', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-personalresearch.git'
|
||||||
gem 'survey', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-survey.git'
|
gem 'survey', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-survey.git'
|
||||||
gem 'web_resource', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-webresource.git'
|
gem 'web_resource', '0.0.1', :git => 'git@gitlab.tp.rulingcom.com:root/orbit-webresource.git'
|
||||||
gem 'dynamic_form', '1.0.0', :git => 'git@github.com:rails/dynamic_form.git'
|
|
Loading…
Reference in New Issue