Starting categories
This commit is contained in:
parent
ce3e947b83
commit
5f564bdbff
@ -10,8 +10,8 @@ module WordPressImport
|
|||||||
name == other.name
|
name == other.name
|
||||||
end
|
end
|
||||||
|
|
||||||
def to_refinery
|
def to_rails
|
||||||
BlogCategory.find_or_create_by_title(name)
|
Tag.find_or_create_by_title(name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user