Create followable concern, follow model. Add followable to proposal model.
This commit is contained in:
@@ -93,6 +93,8 @@ Rails.application.routes.draw do
|
||||
end
|
||||
end
|
||||
|
||||
resources :follows, only: [:create, :destroy]
|
||||
|
||||
resources :stats, only: [:index]
|
||||
|
||||
resources :legacy_legislations, only: [:show], path: 'legislations'
|
||||
|
||||
Reference in New Issue
Block a user