Starting categories
This commit is contained in:
1 parent
ce3e947b83
commit
5f564bdbff
1 file changed
+2
-2
@@ -10,8 +10,8 @@ module WordPressImport
|
||||
name == other.name
|
||||
end
|
||||
|
||||
def to_refinery
|
||||
BlogCategory.find_or_create_by_title(name)
|
||||
def to_rails
|
||||
Tag.find_or_create_by_title(name)
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user