Updated Avatar Uploader, moved dynamic form to main Gemfile

This commit is contained in:
Saurabh Bhatia 2014-01-22 11:09:52 +08:00
parent c93b438538
commit c0ea38475c
3 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,8 @@ eval(File.read(File.dirname(__FILE__) + '/built_in_extensions.rb'))
#modules installed from the store
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 'rack-gridfs'

View File

@ -42,7 +42,7 @@ class AvatarUploader < CarrierWave::Uploader::Base
# end
version :thumb do
process :resize_to_fit => [80, 80]
process :resize_to_fit => [200, 200]
end
# Add a white list of extensions which are allowed to be uploaded.

View File

@ -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 '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 'dynamic_form', '1.0.0', :git => 'git@github.com:rails/dynamic_form.git'