Design tab for profile. Colorscheme as db value

This commit is contained in:
Dmitriy Zaporozhets 2011-12-20 22:47:09 +02:00
parent 2f7b671619
commit 9a2a861276
15 changed files with 100 additions and 66 deletions

View file

@ -7,6 +7,8 @@ class Tree
:name,
:data,
:mime_type,
:mode,
:size,
:text?,
:colorize,
:to => :tree

View file

@ -6,7 +6,7 @@ class User < ActiveRecord::Base
# Setup accessible (or protected) attributes for your model
attr_accessible :email, :password, :password_confirmation, :remember_me,
:name, :projects_limit, :skype, :linkedin, :twitter
:name, :projects_limit, :skype, :linkedin, :twitter, :dark_scheme
has_many :users_projects, :dependent => :destroy
has_many :projects, :through => :users_projects