removes routes locale constrain and fixes some bugs
This commit is contained in:
parent
60c4c5510a
commit
0061e45198
5 changed files with 185 additions and 187 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue