Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add update action to complete items.
- Loading branch information
Alejandro Ventura Contreras
committed
Apr 15, 2019
1 parent
3dc1982
commit 7f88b45
Showing
2 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Rails.application.routes.draw do | ||
resources :items, only: [:index, :create] | ||
resources :items, only: [:index, :create, :update] | ||
mount ActionCable.server, at: '/cable' | ||
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html | ||
end |