-
-
Save radar/2137047 to your computer and use it in GitHub Desktop.
Controller file, I want to access the complete method Im getting the following error undefined local variable or method complete_tasks_path
This file contains hidden or 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
| Mytasklistapp::Application.routes.draw do | |
| resources :tasks do | |
| member do | |
| get :done | |
| end | |
| collection do | |
| put :complete | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment