Skip to content

Commit

Permalink
edit url for dropbox credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangoh committed Aug 9, 2015
1 parent ea08244 commit f0ae5ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ class User < ActiveRecord::Base
has_attached_file :avatar, :styles => { :medium => "300x300>", :small => "200x200>", :thumb => "100x100>" },
:default_url => "/images/:style/profilepic.png",
:storage => :dropbox,
:dropbox_credentials => Rails.root.join("config/dropbox.yml"),
:dropbox_credentials => Rails.root.join("config/extras/dropbox.yml"),
:dropbox_options => {
:path => proc { |style| "#{id}/#{avatar.original_filename}" }
}
Expand Down

0 comments on commit f0ae5ea

Please sign in to comment.