lib/restpack_serializer/serializable/attributes.rb in restpack_serializer-0.2.6 vs lib/restpack_serializer/serializable/attributes.rb in restpack_serializer-0.2.7

- old
+ new

@@ -1,11 +1,9 @@ module RestPack::Serializer::Attributes extend ActiveSupport::Concern - module InstanceMethods - def default_href - "#{RestPack::Serializer.href_prefix}/#{@model.class.table_name}/#{@model.id}.json" - end + def default_href + "#{RestPack::Serializer.href_prefix}/#{@model.class.table_name}/#{@model.id}.json" end module ClassMethods def serializable_attributes @serializable_attributes