Remove some pry and add address code

This commit is contained in:
chris 2012-11-20 10:05:38 +08:00
parent 6789d44431
commit d61621e198
2 changed files with 1 additions and 2 deletions

View File

@ -102,7 +102,6 @@ class Admin::UsersNewInterfaceController < ApplicationController
end
def update
binding.pry
@user = User.find(params[:id])
@user.update_attributes(params[:user])

View File

@ -94,7 +94,7 @@ def unset_all_lang_values
unless self[:temp_data].nil?
case self.attribute_field.markup
when "address"
binding.pry
self["val"] = self["temp_data"]
when 'text_field','text_area'
if self.attribute_field.add_more
self["val"] = self["temp_data"]