Skip to content

创建Origin的地方太多,需要抽取独立。 #1

@wangcash

Description

@wangcash

heat和favorite的初始值需要注意。

  origin              = Origin.new
  origin.title        = origin_title
  origin.url          = origin_url
  origin.heat         = 1
  origin.favorite     = 1
  origin.entry        = sharer

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions