removes routes locale constrain and fixes some bugs

This commit is contained in:
Manuel Wiedenmann 2013-06-06 04:29:53 +02:00
parent 60c4c5510a
commit 0061e45198
5 changed files with 185 additions and 187 deletions

View file

@ -43,6 +43,7 @@ class User < ActiveRecord::Base
end
after_save do
return if settings_attributes.nil?
settings_attributes.each do |key, value|
value.each do |k, v|
case v