FEATURE: remove bookmark button in activity feed

This commit is contained in:
Régis Hanol
2014-05-09 17:49:39 +02:00
parent 9125453628
commit bc3de84ebf
15 changed files with 110 additions and 40 deletions

View File

@@ -146,6 +146,7 @@ en:
created: "you've bookmarked this post"
not_bookmarked: "you've read this post; click to bookmark it"
last_read: "this is the last post you've read; click to bookmark it"
remove: "Remove Bookmark"
new_topics_inserted: "{{count}} new topics."
show_new_topics: "Click to show."

View File

@@ -214,6 +214,7 @@ Discourse::Application.routes.draw do
post "uploads" => "uploads#create"
get "posts/by_number/:topic_id/:post_number" => "posts#by_number"
put "posts/by_number/:topic_id/:post_number/bookmarks/remove" => "posts#remove_bookmark_by_number"
get "posts/:id/reply-history" => "posts#reply_history"
resources :groups do