0
0
Fork 0

Adding paperclip for avatars, fixing design of the public pages

This commit is contained in:
Eugen Rochko 2016-02-28 00:02:59 +01:00
parent fa29ef3a41
commit 2c70f0ecaa
14 changed files with 116 additions and 74 deletions

View file

@ -0,0 +1,11 @@
class AddAttachmentAvatarToAccounts < ActiveRecord::Migration
def self.up
change_table :accounts do |t|
t.attachment :avatar
end
end
def self.down
remove_attachment :accounts, :avatar
end
end