From fbcddfe296be11c90186ff57084d5c114b849f6b Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Thu, 2 Jun 2016 18:58:26 +0200 Subject: [PATCH] revert user serializer for old ember version --- lib/qwaiter/user_base_serializer.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/lib/qwaiter/user_base_serializer.rb b/lib/qwaiter/user_base_serializer.rb index e3efa570..9c3b4226 100644 --- a/lib/qwaiter/user_base_serializer.rb +++ b/lib/qwaiter/user_base_serializer.rb @@ -12,15 +12,15 @@ module Qwaiter::UserBaseSerializer nil end - #def format_name(attribute_name) - # #attribute_name.to_s.dasherize - # attribute_name.to_s - #end + def format_name(attribute_name) + #attribute_name.to_s.dasherize + attribute_name.to_s + end - #def unformat_name(attribute_name) - # #attribute_name.to_s.underscore - # attribute_name.to_s - #end + def unformat_name(attribute_name) + #attribute_name.to_s.underscore + attribute_name.to_s + end #alias_method :default_relationship_related_link, :relationship_related_link def relationship_related_link(attribute_name)