Skip to content

Commit 5f300a0

Browse files
author
regonn
committed
fix generators template bug
1 parent 059409b commit 5f300a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<% module_namespacing do -%>
22
class <%= class_name %>Serializer < <%= parent_class_name %>
33
attributes <%= attributes_names.map(&:inspect).join(", ") %>
4-
end
54
<% association_names.each do |attribute| -%>
65
has_one :<%= attribute %>
76
<% end -%>
7+
end
88
<% end -%>

0 commit comments

Comments
 (0)