elixir_authorization_tutorial
elixir_authorization_tutorial copied to clipboard
Fix phx base
Hi Mr.Moore.
I found a bug.
When I use mix phx.gen.html <Any> generate html/controller/view and schema.
In the Old Code ,if i click the Save button, that will have two flashes and redirect to the index page :
- "Article created successfully".
- "You're not authorized to do that!"
Because the action of show is missing.