Starting categories
This commit is contained in:
parent
ce3e947b83
commit
5f564bdbff
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user