add 'remove tags' page and route #19

Closed
akasfei opened this Issue Mar 25, 2013 · 0 comments

Comments

Projects
None yet
2 participants
@akasfei
Owner

akasfei commented Mar 25, 2013

添加一个实现删除已保存的标签的路由

目前标签的机制是:发表文章时如果有新的标签,那么会将其存入数据库中(archive集合),你可以参考routes/idn_archive.js中的发表文章的函数

这些标签存储在一个特殊条目的数组中,我需要你写一个函数删除特定的标签。该函数处理指向到/idn/archive/rmtags的post请求,然后删除名为req.body.tagname的标签。

将这个函数添加到routes/idn_archive.js中。你可以参考其它app.post函数。

@ghost ghost assigned BaskWind Mar 25, 2013

BaskWind added a commit to BaskWind/North-Star that referenced this issue Mar 27, 2013

Fixed Issue #19
Fuction to remove tags(issue #19)

BaskWind added a commit to BaskWind/North-Star that referenced this issue Mar 29, 2013

Fixed Issue #19
Mmm...This should work

akasfei added a commit that referenced this issue Apr 2, 2013

Merge pull request #20 from BaskWind/3.3.1-wip
added routes for issue #19 (by @BaskWwind)

akasfei added a commit that referenced this issue May 19, 2013

@akasfei akasfei closed this May 19, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment