comment out debug
This commit is contained in:
parent
a7d651236f
commit
beaeac2d42
2 changed files with 2 additions and 4 deletions
|
|
@ -29,6 +29,7 @@ class User
|
||||||
key :getting_started, Boolean, :default => true
|
key :getting_started, Boolean, :default => true
|
||||||
key :disable_mail, Boolean, :default => false
|
key :disable_mail, Boolean, :default => false
|
||||||
|
|
||||||
|
key :email, String
|
||||||
key :language, String
|
key :language, String
|
||||||
|
|
||||||
before_validation :strip_and_downcase_username, :on => :create
|
before_validation :strip_and_downcase_username, :on => :create
|
||||||
|
|
@ -54,7 +55,6 @@ class User
|
||||||
|
|
||||||
many :services, :class => Service
|
many :services, :class => Service
|
||||||
timestamps!
|
timestamps!
|
||||||
#after_create :seed_aspects
|
|
||||||
|
|
||||||
before_destroy :disconnect_everyone, :remove_person
|
before_destroy :disconnect_everyone, :remove_person
|
||||||
before_save do
|
before_save do
|
||||||
|
|
@ -83,7 +83,6 @@ class User
|
||||||
end
|
end
|
||||||
|
|
||||||
######## Making things work ########
|
######## Making things work ########
|
||||||
key :email, String
|
|
||||||
|
|
||||||
def method_missing(method, *args)
|
def method_missing(method, *args)
|
||||||
self.person.send(method, *args) if self.person
|
self.person.send(method, *args) if self.person
|
||||||
|
|
|
||||||
|
|
@ -85,8 +85,7 @@
|
||||||
= yield
|
= yield
|
||||||
|
|
||||||
.clearfix
|
.clearfix
|
||||||
|
/=render :partial => 'layouts/debug.haml'
|
||||||
=render :partial => 'layouts/debug.haml'
|
|
||||||
%footer
|
%footer
|
||||||
.container
|
.container
|
||||||
= image_tag 'powered_by_diaspora.png', :height => "11px", :width => "145px"
|
= image_tag 'powered_by_diaspora.png', :height => "11px", :width => "145px"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue