mirror of
https://github.com/astuto/astuto.git
synced 2025-12-15 03:07:52 +01:00
Post follow and updates notifications V1 (#111)
* It is now possible to follow a post in order to receive updates about it * Notifications are now sent when updates are published * Post status changes are now tracked * Update sidebar now shows the post status history * Mark a comment as a post update using the comment form * ... more ...
This commit is contained in:
committed by
GitHub
parent
ce7be1b30c
commit
dad382d2b1
@@ -15,9 +15,12 @@ Rails.application.routes.draw do
|
||||
devise_for :users
|
||||
|
||||
resources :posts, only: [:index, :create, :show, :update] do
|
||||
resource :follows, only: [:create, :destroy]
|
||||
resources :follows, only: [:index]
|
||||
resource :likes, only: [:create, :destroy]
|
||||
resources :likes, only: [:index]
|
||||
resources :comments, only: [:index, :create, :update]
|
||||
resources :post_status_changes, only: [:index]
|
||||
end
|
||||
|
||||
resources :boards, only: [:index, :create, :update, :destroy, :show] do
|
||||
|
||||
Reference in New Issue
Block a user