Supplier main board section selector

This commit is contained in:
2013-12-11 18:31:32 +01:00
parent 8aede39b27
commit 391c8a7613
15 changed files with 58 additions and 18 deletions
+11
View File
@@ -88,6 +88,17 @@ class Supplier
save
end
def serializable_hash(*)
{
id: id,
name: name
}
end
def as_json(*)
serializable_hash
end
# Find a user by its confirmation token and try to confirm it.
# If no user is found, returns a new user with an error.