Last active
December 19, 2015 03:48
-
-
Save dlynam/5892273 to your computer and use it in GitHub Desktop.
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
| #route | |
| resources :users do | |
| get :activate, on: :member | |
| end | |
| #view | |
| <%= form_for @user, :url => activate_user_path(@user) do |f| %> | |
| .... | |
| <% end %> | |
| #for some reason this occurs in the console console and it calls the update action with activate as the id | |
| Started PUT "/users//activate" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment